<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.buildlogs.org/index.php?action=history&amp;feed=atom&amp;title=Category%3AString_template</id>
	<title>Category:String template - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.buildlogs.org/index.php?action=history&amp;feed=atom&amp;title=Category%3AString_template"/>
	<link rel="alternate" type="text/html" href="https://www.buildlogs.org/index.php?title=Category:String_template&amp;action=history"/>
	<updated>2026-04-20T02:01:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://www.buildlogs.org/index.php?title=Category:String_template&amp;diff=1568154&amp;oldid=prev</id>
		<title>Wuzh at 18:59, 1 April 2023</title>
		<link rel="alternate" type="text/html" href="https://www.buildlogs.org/index.php?title=Category:String_template&amp;diff=1568154&amp;oldid=prev"/>
		<updated>2023-04-01T18:59:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:59, 1 April 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l45&quot;&gt;Line 45:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 45:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{tl|Str number}} — Returns the number of numbers that begin a string.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{tl|Str number}} — Returns the number of numbers that begin a string.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{tl|Str number dp}} — Returns the number of numbers that begin a string. (INCLUDES decimal point)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{tl|Str number dp}} — Returns the number of numbers that begin a string. (INCLUDES decimal point)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Template]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wuzh</name></author>
	</entry>
	<entry>
		<id>https://www.buildlogs.org/index.php?title=Category:String_template&amp;diff=610491&amp;oldid=prev</id>
		<title>Zackmann08: Created page with &quot;==Trimming templates==  * {{tl|Trunc}} – To trim down to a specified number of characters. * {{tl|Str left}} – To trim down to a specified number of characters, or duplica...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.buildlogs.org/index.php?title=Category:String_template&amp;diff=610491&amp;oldid=prev"/>
		<updated>2012-09-07T15:28:56Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Trimming templates==  * {{tl|Trunc}} – To trim down to a specified number of characters. * {{tl|Str left}} – To trim down to a specified number of characters, or duplica...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Trimming templates==&lt;br /&gt;
&lt;br /&gt;
* {{tl|Trunc}} – To trim down to a specified number of characters.&lt;br /&gt;
* {{tl|Str left}} – To trim down to a specified number of characters, or duplicate the string to a specified number.&lt;br /&gt;
* {{tl|Str crop}} – To crop a specified number of characters off the end.&lt;br /&gt;
* {{tl|Chop head and tail}} — To crop a specified number of characters off the beginning and end.&lt;br /&gt;
* {{tl|Trim}} — To trim any leading or trailing whitespace.&lt;br /&gt;
* {{tl|First word}} — To trim down to the first space.&lt;br /&gt;
* {{tl|Remove first word}} — To remove anything before the first space (no accented characters in the string).&lt;br /&gt;
* {{tl|Remove first word/any}} — To remove anything before the first space (wider range of characters in the string).&lt;br /&gt;
* {{tl|Str letter/trim}} — To trim down to the beginning letters.&lt;br /&gt;
* {{tl|Str number/trim}} — To trim down to the beginning numbers.&lt;br /&gt;
* {{tl|Str number dp/trim}} — To trim down to the beginning numbers (INCLUDES decimal point). &lt;br /&gt;
* {{tl|Title without disambig}} — To trim off any parenthesis text at the end of a string.&lt;br /&gt;
* {{tl|Title disambig text}} – Returns text in parenthesis at the end of a string.&lt;br /&gt;
* {{tl|Str right}} — To trim the first specified number of characters.&lt;br /&gt;
* {{tl|Str rightc}} — To trim the first specified number of characters, returns a parameter if the string is empty.&lt;br /&gt;
* {{tl|Str rightmost}} — To trim down to the last specified number of characters.&lt;br /&gt;
* {{tl|Str sub}} — To trim down to a specified number, starting at a given number from the left, less than 50.&lt;br /&gt;
* {{tl|Substr any}} — To trim down to a specified number, starting at a given number from the left, less than 50, can extract accented letters.&lt;br /&gt;
* {{tl|Str sub long}} — To trim down to a specified number, starting at a given number from the left, less than 100.&lt;br /&gt;
&lt;br /&gt;
==Inserting strings==&lt;br /&gt;
&lt;br /&gt;
* {{[[Template:Strloc insert|Strloc insert]]}} - Inserts a string at character location strloc, or appends if strloc&amp;lt;=0.&lt;br /&gt;
* {{[[Template:Strloc prefix|Strloc prefix]]}} - Extracts string prefix up to location strloc, or whole string if strloc&amp;lt;=0.&lt;br /&gt;
* {{[[Template:Str rep|Str rep]]}} — Returns the string, replacing the first occurrence of a specified string, with another string. Requires a match.&lt;br /&gt;
* {{[[Template:Str repc|Str repc]]}} — Returns the string, replacing the first occurrence of a specified string, with another string, if there is one.&lt;br /&gt;
&lt;br /&gt;
==Analyzing strings==&lt;br /&gt;
&lt;br /&gt;
* {{tl|Str endswith}} – To check if a string ends with a given string.&lt;br /&gt;
* {{tl|Str find}} – Returns the numerical location of a given string in a string, up to 50 characters.&lt;br /&gt;
* {{tl|Str find long}} – Returns the numerical location of a given string in a string, up to 80 characters.&lt;br /&gt;
* {{tl|Strfind short}} – Searches for a short string in a longer (up to 99 char) string. Performs faster than {{tl|str find}}&lt;br /&gt;
* {{tl|Str find0}} – Very fast zero-based substring search with string support up to 90 characters.&lt;br /&gt;
* {{tl|Str sub find}} – Searches a substring in a string at the given offset.&lt;br /&gt;
* {{tl|Str index}} – Returns a given character from a string, but not accented letters.&lt;br /&gt;
* {{tl|Str index any}} – Returns a given character from a string, but not a space.&lt;br /&gt;
* {{tl|Chr}} – Returns a given character from a string, including a space.&lt;br /&gt;
* {{tl|Str len}} – Returns a string's length. Can count up to 500 characters.&lt;br /&gt;
* {{tl|Strlen quick}} – Gets string length quickly (better performance), up to 70 long.&lt;br /&gt;
* {{tl|Strlen short}} – Gets length of short strings (1-50), using only 2 expansion levels.&lt;br /&gt;
* {{tl|Str letter}} — Returns the number of letters that begin a string.&lt;br /&gt;
* {{tl|Str number}} — Returns the number of numbers that begin a string.&lt;br /&gt;
* {{tl|Str number dp}} — Returns the number of numbers that begin a string. (INCLUDES decimal point)&lt;/div&gt;</summary>
		<author><name>Zackmann08</name></author>
	</entry>
</feed>