You are not currently logged in. Are you accessing the unsecure (http) portal? Click here to switch to the secure portal. |
Search results
Jump to navigation
Jump to search
Create the page "String manipulation templates" on this wiki! See also the search results found.
- This template trims whitespace from a string. The string should be passed as the first unnamed parameter. You may [[WP:SUBST|substit {{String templates see also}}958 bytes (136 words) - 03:02, 23 September 2012
- ...expansion depth, rather than 9-13 or more levels as in other string-length templates. ...ing exceeds the 50-character limit. The default result is -1 to indicate a string longer than 50 characters.1 KB (161 words) - 03:07, 23 September 2012
- <code>{{Tlx|Trunc|<string>|<count>}}</code> Gives the <count> characters from the start of the string.2 KB (223 words) - 02:29, 23 September 2012
- ...''disambig''. If no parenthetical expression is present, returns an empty string. * Up to 50 characters in the input string. Will return an empty string if ''Title'' has more than 50 characters, and error '''''"<font color=#CC111 KB (171 words) - 02:29, 23 September 2012
- : <code>{{Tlx|Str left|<string>|<count>}}</code> ...bstring of characters from the start of the [[Trim (programming)|trimmed]] string (the substring has length <count>).2 KB (262 words) - 02:29, 23 September 2012
- : <code>{{Tlx|Str right|<string>|<offset>}}</code> Gives the characters from <offset> to the end of the string.2 KB (240 words) - 02:29, 23 September 2012
- It helps other templates check if a string is "shorter or equally long" vs. "longer" than a given length. Here is how to check if the string "abcde" is 4 characters or less:3 KB (435 words) - 02:29, 23 September 2012
- It takes a string as parameter and returns its length (excluding those at the start and end). ...ts much less server resources to use {{tl|str ≥ len}} or one of its sister templates. See the [[#See also|see also]] section below.4 KB (489 words) - 02:29, 23 September 2012
- It helps other templates check if a string is "not equal" vs. "equal" to a given length. Here is how to check if the string "abcde" is exactly 5 characters:3 KB (451 words) - 02:29, 23 September 2012
- It helps other templates check if a string is "longer or equally long" vs. "shorter" than a given length. Here is how to check if the string "abcde" is 4 characters or more:3 KB (468 words) - 02:29, 23 September 2012
- {{String templates see also}} [[Category:String manipulation templates]]1 KB (167 words) - 03:03, 23 September 2012
- It helps other templates check if a string is "shorter" vs. "equally long" vs. "longer" than a given length. Here is how to check if the string "abcde" is 4 characters long:3 KB (461 words) - 02:29, 23 September 2012
- [[Category:String manipulation templates]]609 bytes (81 words) - 02:29, 23 September 2012
- : <code>{{Tlx|Str rightc|<string>|<count>}}</code> : <code>{{Tlx|Str rightc|<string>|<count>|<result if empty>}}</code>2 KB (294 words) - 02:29, 23 September 2012
- ...g for accented letters or [[diacritics]] to be included in the string. The string can be any length, but position ''n'' (parameter 2) is limited to 500 at mo * <nowiki>{{</nowiki> {{BASEPAGENAME}} |Very very...long string of 500 characteRs|499<nowiki>}}</nowiki> → R3 KB (388 words) - 03:03, 23 September 2012
- [[Category:String manipulation templates]]711 bytes (90 words) - 02:29, 23 September 2012
- [[Category:String manipulation templates]]736 bytes (96 words) - 02:29, 23 September 2012
- ...no parser function or magic word to measure string lengths. And measuring string length using template code is very heavy on the servers. Thus this template ...string is greater than a given value, the template searches for the actual string length. This sub-template holds most of the search function for {{tlf|str l6 KB (971 words) - 02:29, 23 September 2012
- ...ven namespace has subpages enabled. Returns "yes" if it does, and an empty string otherwise. [[Category:Namespace manipulation templates|{{PAGENAME}}]]2 KB (257 words) - 03:00, 23 September 2012
- [[Category:String manipulation templates|{{PAGENAME}}]]6 KB (233 words) - 02:29, 23 September 2012