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

→‎Trimming templates: separate conting and checking characters
organise
పంక్తి 1:
<noinclude><big>List of templates in {{cat|String manipulation templates}}.</big>
</noinclude>==Templates==
===[[Trim (programming)|Trimming]] templatesstrings by counting===
;By counting characters:
* {{tl|Trunc}} – To trim down to a specified number of characters.
* {{tl|Str left}} – To trim down to a specified number of characters, or duplicate the string to a specified number.
Line 12 ⟶ 11:
* {{tl|Str sub old}} — To trim down to a specified number, starting at a given number from the left.
* {{tl|Str sub new}} — Select a substr based on starting and ending index.
 
;By===Trimming strings by character checking:===
* {{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.
"https://te.wikipedia.org/wiki/మూస:String-handling_templates" నుండి వెలికితీశారు