<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://wiki-data.rcsi.science/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://wiki-data.rcsi.science/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://wiki-data.rcsi.science/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:String-handling_templates&amp;action=history"/>
	<updated>2026-04-03T17:51:45Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://wiki-data.rcsi.science/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:String-handling_templates&amp;diff=734&amp;oldid=prev</id>
		<title>Admin: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="https://wiki-data.rcsi.science/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:String-handling_templates&amp;diff=734&amp;oldid=prev"/>
		<updated>2021-11-15T13:18:33Z</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;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;ru&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия 13:18, 15 ноября 2021&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key wikidb:diff::1.12:old-733:rev-734 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki-data.rcsi.science/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:String-handling_templates&amp;diff=733&amp;oldid=prev</id>
		<title>ru&gt;GKFX: remove deleted template</title>
		<link rel="alternate" type="text/html" href="https://wiki-data.rcsi.science/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:String-handling_templates&amp;diff=733&amp;oldid=prev"/>
		<updated>2021-11-09T23:43:58Z</updated>

		<summary type="html">&lt;p&gt;remove deleted template&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{#invoke:Navbox with collapsible groups|navbox&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 [[Help:Manipulating_strings|(help page)]]&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 = {{#invoke:navbox|navbox|child&lt;br /&gt;
  | group1 = By position&amp;lt;br&amp;gt;of character(s)&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:2em;&lt;br /&gt;
       |col1style=width:12em;text-align:right;padding-right:0.75em;&lt;br /&gt;
       | '''{{ml|string|sub|section=#sub}}&amp;lt;br&amp;gt; {{tl|str sub new}}''' | Select a substring based on starting and ending index counted in either direction.&lt;br /&gt;
       | {{tl|str left}}      | Keep the first N characters of a string, or duplicate it to N characters.&lt;br /&gt;
       | {{tl|str crop}}      | Return all but the last N characters of a string.&lt;br /&gt;
       | {{tl|str index}}     | Return the N-th character of a string.&lt;br /&gt;
      }}&lt;br /&gt;
    | {{Aligned table&lt;br /&gt;
       |col1style=width:12em;text-align:right;padding-right:0.75em;&lt;br /&gt;
       | {{tl|str right}}     | Return substring starting at N-th character to end of string.&lt;br /&gt;
       | {{tl|str rightc}}    | Return the last N characters of a string; or a given value if empty.&lt;br /&gt;
       | {{tl|str rightmost}} | Return last N characters of a string.&lt;br /&gt;
       | {{tl|str sub old}}   | Return substring of given length starting at N-th character.&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:2em;&lt;br /&gt;
       |col1style=width:12em;text-align:right;padding-right:0.75em;&lt;br /&gt;
       | {{tl|trim}}                | Trim any leading or trailing whitespace&lt;br /&gt;
       | {{tl|str letter/trim}}     | Trim down to the beginning letters.&lt;br /&gt;
       | {{tl|str number/trim}}     | Trim down to the beginning numbers.&lt;br /&gt;
       | {{tl|trim brackets}}       | Trim any leading or trailing square brackets.&lt;br /&gt;
       | {{tl|trim quotes}}         | Trim leading or trailing matching quotes.&lt;br /&gt;
       | {{tl|trim leading}}        | Trim up to six instances of specified &amp;lt;prefix&amp;gt;.&lt;br /&gt;
      }}&lt;br /&gt;
    | {{Aligned table&lt;br /&gt;
       |col1style=width:12em;text-align:right;padding-right:0.75em;&lt;br /&gt;
       | {{tl|string split}}        | Extract a short string from a long string.&lt;br /&gt;
       | {{tl|first word}}          | Trim down to the first space.&lt;br /&gt;
       | {{tl|remove first word}}   | Remove anything before the first space.&lt;br /&gt;
       | {{tl|last word}}           | Trim down from the last space.&lt;br /&gt;
       | {{tl|remove last word}}    | 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:2em;&lt;br /&gt;
       |col1style=width:12em;text-align:right;padding-right:0.75em;&lt;br /&gt;
       | {{tl|delink}}, {{tl|trim brackets}} | Removes wikilink brackets (wikicode); ''all'' or ''outer only''.&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}}        | 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;
       | {{tl|WikiProjectbasename}} | Removes &amp;quot;WikiProject&amp;quot; from a pagename.&lt;br /&gt;
      }}&lt;br /&gt;
    | {{Aligned table&lt;br /&gt;
       |col1style=width:12em;text-align:right;padding-right:0.75em;&lt;br /&gt;
       | {{tl|ship prefix}}         | Returns the length of a ship's name prefix, if listed (ship names).&lt;br /&gt;
       | {{tl|title year}}          | Returns the 3-or-4-digit year from a pagename, if any.&lt;br /&gt;
       | {{tl|title decade}}        | Returns the 4-digit decade (e.g. &amp;quot;1740s&amp;quot;) from a pagename, if any.&lt;br /&gt;
       | {{tl|title number}}        | Returns any number from a pagename.&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:2em;&lt;br /&gt;
     |col1style=text-align:right;padding-right:0.75em;&lt;br /&gt;
     | {{tl|loop}}          | Repeat character string a specified number of times.&lt;br /&gt;
     | {{tl|replace}}       | Returns the string, after replacing ''all'' 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;
     | {{tl|Plain text}}, {{tl|Nowiki}}    | Strips wikicode from a string.&lt;br /&gt;
    }}&lt;br /&gt;
  |  &amp;lt;!---(Length)---&amp;gt;&lt;br /&gt;
    {{Aligned table&lt;br /&gt;
     |col1style=text-align:right;padding-right:0.75em;&lt;br /&gt;
     | {{tl|str len}}       | Returns a string's length.&lt;br /&gt;
     | {{tl|str ≥ len}}     | 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}}     | 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}}     | Check if a string is &amp;quot;not equal&amp;quot; or &amp;quot;equal&amp;quot; to 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 searching&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:2em;&lt;br /&gt;
     |col1style=text-align:right;padding-right:0.75em;&lt;br /&gt;
     | {{tl|str endswith}}  | Check if a string ends with a given string.&lt;br /&gt;
     | {{tl|str find}}, {{tl|strfind short}} |style2.2=vertical-align:middle;| Returns the numerical location of a given string in a string.&lt;br /&gt;
     | {{tl|in string}}     | Returns optional string when given string is not found&lt;br /&gt;
     | {{tl|str count}}     | Count the number of occurrences of a pattern within a string.&lt;br /&gt;
    }}&lt;br /&gt;
  |  &amp;lt;!---(Analysis cont'd)---&amp;gt;&lt;br /&gt;
    {{Aligned table&lt;br /&gt;
     |col1style=text-align:right;padding-right:0.75em;&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;
     | {{tl|Isnumeric}}     | Returns number when true, blank when not numeric.&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;
 }} }}&lt;br /&gt;
|state1=&amp;lt;noinclude&amp;gt;expanded&amp;lt;/noinclude&amp;gt;&amp;lt;!-- show everything on this template's page --&amp;gt;&lt;br /&gt;
|state2=&amp;lt;noinclude&amp;gt;expanded&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
|state3=&amp;lt;noinclude&amp;gt;expanded&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
|state4=expanded&lt;br /&gt;
|group4=Modules and built-in functions&lt;br /&gt;
|list4={{div col|style=text-align:left}}&lt;br /&gt;
* [[:Module:String]], [[:Module:String2]], [[:Module:Ustring]], [[Module:Text]]: modules that together contain most necessary string functions.&lt;br /&gt;
* [[mw:Help:Magic words|Magic words]]: 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;, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{lc:&amp;amp;#124;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;,  &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{formatnum:&amp;amp;#124;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; etc.&lt;br /&gt;
* [[mw:Help:Extension:ParserFunctions|ParserFunctions]]: 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.{{div col end}}&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;
** [[:c:Category:String manipulation templates|Commons]]&lt;br /&gt;
** [[:mw:Category:String manipulation templates|MediaWiki]]&lt;br /&gt;
** [[:m:Category:String manipulation templates|Meta-Wiki]]&lt;br /&gt;
** [[:d:Category:String manipulation templates|Wikidata]]&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>ru&gt;GKFX</name></author>
	</entry>
</feed>