<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.gc-forever.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ANavbox_string_handling_templates</id>
	<title>Template:Navbox string handling templates - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.gc-forever.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ANavbox_string_handling_templates"/>
	<link rel="alternate" type="text/html" href="https://www.gc-forever.com/wiki/index.php?title=Template:Navbox_string_handling_templates&amp;action=history"/>
	<updated>2026-04-13T14:13:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://www.gc-forever.com/wiki/index.php?title=Template:Navbox_string_handling_templates&amp;diff=1107&amp;oldid=prev</id>
		<title>Cybertronic: Created page with &quot;{{navbox | title= String handling templates | name=Template:Navbox string handling templates | state={{{state}|}}}  | above=&#039;&#039;As of February 2013, these templates are being optim...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.gc-forever.com/wiki/index.php?title=Template:Navbox_string_handling_templates&amp;diff=1107&amp;oldid=prev"/>
		<updated>2013-04-29T22:35:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{navbox | title= String handling templates | name=Template:Navbox string handling templates | state={{{state}|}}}  | above=&amp;#039;&amp;#039;As of February 2013, these templates are being optim...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{navbox&lt;br /&gt;
| title= String handling templates&lt;br /&gt;
| name=Template:Navbox string handling templates&lt;br /&gt;
| state={{{state}|}}}&lt;br /&gt;
&lt;br /&gt;
| above=&amp;#039;&amp;#039;As of February 2013, these templates are being optimised using [[WP:Lua|Lua]] modules.&amp;#039;&amp;#039;&lt;br /&gt;
| group1 = [[Trim (programming)|Trim]] by counting&lt;br /&gt;
| list1=&lt;br /&gt;
* {{tl|Str mid}} – To return a substring, specified by its position and length.&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|Str right}} – To trim the first specified number of characters.&lt;br /&gt;
* {{tl|Str rightc}} – To return a number of characters from the end, 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 old}} – To trim down to a specified number, starting at a given number from the left.&lt;br /&gt;
* {{tl|Str sub new}} – Select a substr based on starting and ending index.&lt;br /&gt;
* {{tl|Str index}} – Returns a given character from a string, but not accented letters.&lt;br /&gt;
&lt;br /&gt;
| group2=Trim by checking&lt;br /&gt;
| list2=&lt;br /&gt;
* {{tl|Trim}} – To trim any leading or trailing whitespace ({{tl|Strip whitespace}} does so too, but is less effective)&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.&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;
&lt;br /&gt;
| group3= Insert strings&lt;br /&gt;
|list3=&lt;br /&gt;
* {{tl|Repeat}} – Repeat character string n times&lt;br /&gt;
* {{tl|Replace}} – Returns the string, after replacing &amp;#039;&amp;#039;all&amp;#039;&amp;#039; occurrences of a specified string with another string.&lt;br /&gt;
* {{tl|Strloc insert}} – Inserts a string at character location strloc, or appends if strloc&amp;lt;=0.&lt;br /&gt;
* {{tl|Strloc prefix}} – Extracts string prefix up to location strloc, or whole string if strloc&amp;lt;=0.&lt;br /&gt;
* {{tl|Str rep|Str rep}} – Returns the string, after replacing the first occurrence of a specified string with another string.&lt;br /&gt;
&lt;br /&gt;
|group4= Length&lt;br /&gt;
|list4=&lt;br /&gt;
* {{tl|Str len}} – Returns a string&amp;#039;s length.&lt;br /&gt;
* {{tl|iflenge}} – IF LENgth Greater then or Equal to.&lt;br /&gt;
* {{tl|Str ≥ len}} – To check if a string is &amp;quot;longer or equally long&amp;quot; or &amp;quot;shorter&amp;quot; than a given length.&lt;br /&gt;
* {{tl|Str ≤ len}} – To check if a string is &amp;quot;shorter or equally long&amp;quot; or &amp;quot;longer&amp;quot; than a given length.&lt;br /&gt;
* {{tl|Str ≠ len}} – To check if a string is &amp;quot;not equal&amp;quot; or &amp;quot;equal&amp;quot; to a given length.&lt;br /&gt;
* {{tl|Str ≤ ≥ len}} – To check if a string is &amp;quot;shorter&amp;quot;, &amp;quot;equal&amp;quot;, or &amp;quot;longer&amp;quot; than a given length.&lt;br /&gt;
&lt;br /&gt;
| group5=Analyse string&lt;br /&gt;
| list5=&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.&lt;br /&gt;
* {{tl|Strfind short}} – Returns the numerical location of a given string in a string.&lt;br /&gt;
* {{tl|Str find0}} – Zero-based substring search.&lt;br /&gt;
* {{tl|Str sub find}} – Searches a substring in a string at the given offset.&lt;br /&gt;
* {{tl|ASCII code}} – Returns the ASCII value of a single character.&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 gtr str}} – Compares two strings for alphabetical order, and returns a value accordingly.&lt;br /&gt;
&lt;br /&gt;
| group6=Trim, dedicated&lt;br /&gt;
| list6=&lt;br /&gt;
* {{tl|WikiProjectbasename}} - Removes &amp;quot;WikiProject&amp;quot; from a pagename&lt;br /&gt;
* {{tl|Remove unranked}} - Removes the string &amp;quot;unranked_&amp;quot; from the left of a string (taxonomy).&lt;br /&gt;
* {{tl|Ship prefix}} – Returns the length of a ship name prefix, if listed (ship names).&lt;br /&gt;
* {{tl|Title without disambig}} – To trim off any parenthesis text at the end of a string  (disambiguation).&lt;br /&gt;
* {{tl|Title disambig text}} – Returns text in parenthesis at the end of a string  (disambiguation).&lt;br /&gt;
* {{tl|Unlink}} – Removes wikilink brackets (wikicode).&lt;br /&gt;
&lt;br /&gt;
|group11=Technical developments&lt;br /&gt;
|list11=&lt;br /&gt;
* [[Module:String]]&lt;br /&gt;
* [[mw:Help:Magic words]] – About &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{padleft:|}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
* [[mw:Help:Extension:ParserFunctions]] – About &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#titleparts:|}}, {{#expr:|}}, {{#ifeq:|}}, &amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; etc.&lt;br /&gt;
&lt;br /&gt;
|group12=Feature requests&lt;br /&gt;
|list12&lt;br /&gt;
* [[bugzilla:6455]] – Set $wgPFEnableStringFunctions = true on WMF wikis&lt;br /&gt;
* [[bugzilla:26092]] – Enable or install string parsing wikimarkup functionality on WMF wikis&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- not in a navbox&lt;br /&gt;
|group13=[[Wikipedia:Template sandbox and test cases|Sandboxes and test cases]]:&lt;br /&gt;
|list13=&lt;br /&gt;
&lt;br /&gt;
* {{tl|Str find/sandbox}}&lt;br /&gt;
* {{tl|Str index/getchar/sandbox}}&lt;br /&gt;
* {{tl|Str index/getchar/testcases}}&lt;br /&gt;
* {{tl|Str index/sandbox}}&lt;br /&gt;
* {{tl|Str index/testcases}}&lt;br /&gt;
* {{tl|Str index any/sandbox}}&lt;br /&gt;
* {{tl|Str index any/testcases}}&lt;br /&gt;
* {{tl|Str left/sandbox}}&lt;br /&gt;
* {{tl|Str len/core/sandbox}}&lt;br /&gt;
* {{tl|Str len/sandbox}}&lt;br /&gt;
* {{tl|Str len/testcases}}&lt;br /&gt;
* {{tl|Str rightc/testcases}}&lt;br /&gt;
* {{tl|Str ≠ len/sandbox}}&lt;br /&gt;
* {{tl|Str ≠ len/testcases}}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
| below= &lt;br /&gt;
* [[:Category:String manipulation templates]]&lt;br /&gt;
* [[m:Category:String templates]]&lt;br /&gt;
* [[:commons:Category:String manipulation templates]]&lt;br /&gt;
| belowclass=hlist&lt;br /&gt;
}}&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{documentation}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cybertronic</name></author>
	</entry>
</feed>