Template:Str sub/doc: Difference between revisions
Template page
More actions
Reverted 1 edit by Aeeaeeaee 2; Reverted until we can get a reason in ENGLISH. using TW |
|||
| Line 4: | Line 4: | ||
=== Usage === | === Usage === | ||
<nowiki>{{str_sub|</nowiki>''text''|''start''|''length''<nowiki>}}</nowiki> = Substring of ''text'' starting at ''start'' and containing ''length'' characters. | <nowiki>{{str_sub|</nowiki>''text''|''start''|''length''<nowiki>}}</nowiki> = Substring of ''text'' starting at ''start'' and containing ''length'' characters. | ||
''start'' + ''length'' must be less than 50. Only operates on a limited character set. | ''start'' + ''length'' must be less than 50. Only operates on a limited character set. | ||
| Line 16: | Line 16: | ||
[[Category:String manipulation templates]] | [[Category:String manipulation templates]] | ||
</includeonly> | </includeonly> | ||
Revision as of 07:32, 19 December 2009
Usage
{{str_sub|text|start|length}} = Substring of text starting at start and containing length characters.
start + length must be less than 50. Only operates on a limited character set.