మూస:String-handling templates: కూర్పుల మధ్య తేడాలు

చి Sardanaphalus moved page Template:Navbox string handling templates to Template:Navbox string-handling templates: Missing hyphen (compound adjective)
name/title update following move, state extension and typo correction, group11 name
పంక్తి 1:
{{navboxNavbox
| titlename = StringNavbox string-handling templates
| name=Template:Navboxtitle string= String-handling templates
| state = {{{state}|{{{1|}}}}}}
| tracking = no <!-- (keep all these string templates (by /doc pages) out of the tracking category )-->
 
| group1 = [[Trim (programming)|Trim]] by counting
| list1 =
* {{tl|Str mid}} – To return a substring, specified by its position and length.
* {{tl|Trunc}} – To trim down to a specified number of characters.
Line 18 ⟶ 19:
* {{tl|Str index}} – Returns a given character from a string, but not accented letters.
 
| group2 = Trim by checking
| list2 =
* {{tl|Trim}} – To trim any leading or trailing whitespace ({{tl|Strip whitespace}} does so too, but is less effective)
* {{tl|First word}} – To trim down to the first space.
Line 26 ⟶ 27:
* {{tl|Str number/trim}} – To trim down to the beginning numbers.
 
| group3 = Insert strings
| list3 =
* {{tl|Loop}} – Repeat character string n times
* {{tl|Replace}} – Returns the string, after replacing ''all'' occurrences of a specified string with another string.
Line 34 ⟶ 35:
* {{tl|Str rep|Str rep}} – Returns the string, after replacing the first occurrence of a specified string with another string.
 
| group4 = Length
| list4 =
* {{tl|Str len}} – Returns a string's length.
* {{tl|iflenge}} – IF LENgth Greater than or Equal to.
Line 43 ⟶ 44:
* {{tl|Str ≤ ≥ len}} – To check if a string is "shorter", "equal", or "longer" than a given length.
 
| group5 = Analyse string
| list5 =
* {{tl|Str endswith}} – To check if a string ends with a given string.
* {{tl|Str find}} – Returns the numerical location of a given string in a string.
Line 56 ⟶ 57:
* {{tl|a or an}} – Takes a noun and produces the appropriate indefinite article, based on whether the first letter is a vowel.
 
| group6 = Trim, dedicated
| list6 =
* {{tl|WikiProjectbasename}} - Removes "WikiProject" from a pagename
* {{tl|Remove unranked}} - Removes the string "unranked_" from the left of a string (taxonomy).
Line 66 ⟶ 67:
* {{tl|Remove file prefix}}—Removes "File:" or "Image:" from filenames.
 
| group11 =Technical developmentsTechnical
| list11 =
* [[Module:String]]
* [[mw:Help:Magic words]] – About <code><nowiki>{{padleft:|}}</nowiki></code>.
* [[mw:Help:Extension:ParserFunctions]] – About <code><nowiki>{{#titleparts:|}}, {{#expr:|}}, {{#ifeq:|}}, </nowiki></code> etc.
 
| group12 = Feature requests
| list12 <!-- = -->
* [[bugzilla:6455]] – Set $wgPFEnableStringFunctions = true on WMF wikis
* [[bugzilla:26092]] – Enable or install string parsing wikimarkup functionality on WMF wikis
 
<!-- not--Not in a navbox:
| group13 = [[Wikipedia:Template sandbox and test cases|Sandboxes, and test casestestcases]]:
| list13 =
 
* {{tl|Str find/sandbox}}
* {{tl|Str index/getchar/sandbox}}
పంక్తి 95:
* {{tl|Str ≠ len/sandbox}}
* {{tl|Str ≠ len/testcases}}
----->
 
| below=
| belowclass = hlist
| below= =
* [[:Category:String manipulation templates]]
* [[m:Category:String templates]]
* [[:commons:Category:String manipulation templates]]
| belowclass=hlist
}}<noinclude>
 
}}<noinclude>{{Documentation}}</noinclude>
{{documentation}}
</noinclude>
"https://te.wikipedia.org/wiki/మూస:String-handling_templates" నుండి వెలికితీశారు