<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://islamicdata.ru/index.php?action=history&amp;feed=atom&amp;title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD%3AString-handling_templates</id>
	<title>Шаблон:String-handling templates - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://islamicdata.ru/index.php?action=history&amp;feed=atom&amp;title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD%3AString-handling_templates"/>
	<link rel="alternate" type="text/html" href="https://islamicdata.ru/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:String-handling_templates&amp;action=history"/>
	<updated>2026-04-04T13:08:58Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://islamicdata.ru/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:String-handling_templates&amp;diff=1523&amp;oldid=prev</id>
		<title>imported&gt;Adminm: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="https://islamicdata.ru/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:String-handling_templates&amp;diff=1523&amp;oldid=prev"/>
		<updated>2018-04-19T12:22:12Z</updated>

		<summary type="html">&lt;p&gt;1 версия импортирована&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 15:22, 19 апреля 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>imported&gt;Adminm</name></author>
	</entry>
	<entry>
		<id>https://islamicdata.ru/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:String-handling_templates&amp;diff=1522&amp;oldid=prev</id>
		<title>imported&gt;Ahecht: | {{tl|trim quotes}}         | To trim leading or trailing matches quotes.</title>
		<link rel="alternate" type="text/html" href="https://islamicdata.ru/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:String-handling_templates&amp;diff=1522&amp;oldid=prev"/>
		<updated>2017-11-15T23:32:38Z</updated>

		<summary type="html">&lt;p&gt;| {{tl|trim quotes}}         | To trim leading or trailing matches quotes.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Navbox with collapsible groups&lt;br /&gt;
| name = String-handling templates&lt;br /&gt;
| state = {{{state|expanded}}}&lt;br /&gt;
| bodyclass = plainlist&lt;br /&gt;
| title = String-handling templates&lt;br /&gt;
| selected = {{{selected|{{{expanded|{{{1|}}}}}}}}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!---------------------- Trimming -------------------------&amp;gt;&lt;br /&gt;
| abbr1 = trim&lt;br /&gt;
| sect1 = [[Trimming (computer programming)|Trimming]]&lt;br /&gt;
| content1 =&lt;br /&gt;
 {{Navbox |child&lt;br /&gt;
&lt;br /&gt;
  | group1 = By counting&lt;br /&gt;
  | list1 =&lt;br /&gt;
   {{Aligned table |fullwidth=on |style=text-align:left; |col1width=50%;&lt;br /&gt;
    | {{Aligned table |style=padding-right:2.5em;&lt;br /&gt;
       |col1style=width:12.5em;text-align:right;white-space:nowrap;padding-right:0.75em; |col2style=font-style:italic;&lt;br /&gt;
       | {{tl|str mid}}       | To return a substring specified by 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;
      }}&lt;br /&gt;
    | {{Aligned table&lt;br /&gt;
       |col1style=width:12.5em;text-align:right;white-space:nowrap;padding-right:0.75em; |col2style=font-style:italic;&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;
&lt;br /&gt;
  | group2 = By checking&lt;br /&gt;
  | list2 =&lt;br /&gt;
   {{Aligned table |fullwidth=on |style=text-align:left; |col1width=50%;&lt;br /&gt;
    | {{Aligned table |style=padding-right:2.5em;&lt;br /&gt;
       |col1style=width:12.5em;text-align:right;white-space:nowrap;padding-right:0.75em; |col2style=font-style:italic;&lt;br /&gt;
       | {{tl|trim}}                | To trim any leading or trailing whitespace&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|trim brackets}}       | To trim any leading or trailing square brackets.&lt;br /&gt;
       | {{tl|trim quotes}}         | To trim leading or trailing matches quotes.&lt;br /&gt;
      }}&lt;br /&gt;
    | {{Aligned table&lt;br /&gt;
       |col1style=width:12.5em;text-align:right;white-space:nowrap;padding-right:0.75em; |col2style=font-style:italic;&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|last word}}           | To trim down from the last space.&lt;br /&gt;
       | {{tl|remove last word}}    | To remove anything after the last space.&lt;br /&gt;
   }} }}&lt;br /&gt;
&lt;br /&gt;
  | group3 = Dedicated&lt;br /&gt;
  | list3 =&lt;br /&gt;
   {{Aligned table |fullwidth=on |style=text-align:left; |col1width=50%;&lt;br /&gt;
    | {{Aligned table |style=padding-right:2.5em;&lt;br /&gt;
       |col1style=width:12.5em;text-align:right;white-space:nowrap;padding-right:0.75em; |col2style=font-style:italic;&lt;br /&gt;
       | {{tl|delink}}              | Removes wikilink brackets (wikicode).&lt;br /&gt;
       | {{tl|remove file prefix}}  | Removes &amp;quot;File:&amp;quot; (or &amp;quot;Image:&amp;quot;) from filenames.&lt;br /&gt;
       | {{tl|PAGENAMEBASE}}        | To trim off any parenthesis text at the end of a string (disambiguation).&lt;br /&gt;
       | {{tl|title disambig text}} | Returns text in parentheses at the end of a string (disambiguation).&lt;br /&gt;
      }}&lt;br /&gt;
    | {{Aligned table&lt;br /&gt;
       |col1style=width:12.5em;text-align:right;white-space:nowrap;padding-right:0.75em; |col2style=font-style:italic;&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&amp;#039;s name prefix, if listed (ship names).&lt;br /&gt;
       | {{tl|title year}}          | Returns the 4-digit year from a pagename, if any.&lt;br /&gt;
   }} }}&lt;br /&gt;
 }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!----------- Insertion, replacement, length --------------&amp;gt;&lt;br /&gt;
| abbr2 = IRL&lt;br /&gt;
| sect2 = Insertion, replacement and length&lt;br /&gt;
| content2 =&lt;br /&gt;
 {{Aligned table |style=margin:0 auto 0;text-align:left;&lt;br /&gt;
  |  &amp;lt;!---(Insertion, replacement)---&amp;gt;&lt;br /&gt;
    {{Aligned table |style=padding-right:2.5em;&lt;br /&gt;
     |col1style=text-align:right;white-space:nowrap;padding-right:0.75em; |col2style=font-style:italic;&lt;br /&gt;
     | {{tl|strloc insert}} | Inserts a string at character location strloc, or appends if strloc&amp;lt;{{=}}0.&lt;br /&gt;
     | {{tl|loop}}          | Repeat character string a specified number of times.&lt;br /&gt;
     | {{tl|repeat}}        | Repeat a string a specified number of 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|str rep}}       | Returns the string, after replacing the first occurrence of a specified string with another string.&lt;br /&gt;
     | {{tl|digits}}        | Returns the string, after removing all characters that are not digits 0–9&lt;br /&gt;
    }}&lt;br /&gt;
  |  &amp;lt;!---(Length)---&amp;gt;&lt;br /&gt;
    {{Aligned table&lt;br /&gt;
     |col1style=text-align:right;white-space:nowrap;padding-right:0.75em; |col2style=font-style:italic;&lt;br /&gt;
     | {{tl|str len}}       | Returns a string&amp;#039;s length.&lt;br /&gt;
     | {{tl|iflenge}}       | [if len]gth [g]reater than or [e]qual 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;
&lt;br /&gt;
&amp;lt;!----------------- Analysis, technical -------------------&amp;gt;&lt;br /&gt;
| abbr3 = anlys/tech&lt;br /&gt;
| sect3 = Analysis and technical&lt;br /&gt;
| content3 =&lt;br /&gt;
 {{Aligned table |style=margin:0 auto 0;text-align:left;&lt;br /&gt;
  |  &amp;lt;!---(Analysis)---&amp;gt;&lt;br /&gt;
    {{Aligned table |style=padding-right:2.5em;&lt;br /&gt;
     |col1style=text-align:right;white-space:nowrap;padding-right:0.75em; |col2style=font-style:italic;&lt;br /&gt;
     | {{tl|str endswith}}  | To check if a string ends with a given string.&lt;br /&gt;
     | {{tl|str find}}&amp;lt;br/&amp;gt;{{tl|strfind short}} |style2.2=vertical-align:middle;|&amp;#039;&amp;#039;Returns the numerical location of a given string in a string.&amp;#039;&amp;#039;&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|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;
  |  &amp;lt;!---(Analysis cont&amp;#039;d)---&amp;gt;&lt;br /&gt;
    {{Aligned table&lt;br /&gt;
     |col1style=text-align:right;white-space:nowrap;padding-right:0.75em; |col2style=font-style:italic;&lt;br /&gt;
     | {{tl|ASCII code}}    | Returns the ASCII value of a single character.&lt;br /&gt;
     | {{tl|a or an}}       | Takes a noun and produces the appropriate indefinite article, based on whether the first letter is a vowel.&lt;br /&gt;
     | &amp;amp;nbsp; | &amp;amp;nbsp;&lt;br /&gt;
     &amp;lt;!---(Technical)---&amp;gt;&lt;br /&gt;
     | [[Module:String]]    | &lt;br /&gt;
     | [[mw:Help:Magic words|...Magic words]] | {{noitalic|About &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{padleft:&amp;amp;#124;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
     | [[mw:Help:Extension:ParserFunctions|...ParserFunctions]] | {{noitalic|About &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#titleparts:&amp;amp;#124;}}, {{#expr:&amp;amp;#124;}}, {{#ifeq:&amp;amp;#124;}}, &amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; etc.}}&lt;br /&gt;
 }} }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--------------------- (disabled) ------------------------&amp;gt;&lt;br /&gt;
&amp;lt;!----&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, testcases]]&lt;br /&gt;
| list13 =&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;
&lt;br /&gt;
&amp;lt;!----------------------- below ---------------------------&amp;gt;&lt;br /&gt;
| belowclass = hlist&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;
&lt;br /&gt;
| tracking = no &amp;lt;!--(keep all these string templates (by /doc pages) out of the tracking category)--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;noinclude&amp;gt;{{Documentation}}&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Ahecht</name></author>
	</entry>
</feed>