Template:Str sub/doc: Difference between revisions
Template page
More actions
use {{TemplateBox}}, uses Lua, remove redundant category and interwikis already being in Wikidata |
m format |
||
| Line 26: | Line 26: | ||
|name = Str sub long | |name = Str sub long | ||
|desc = This template returns the substring of <text> starting at <start> and containing <length> characters. Base 0: the first character is numbered 0, and so on, e.g. <nowiki>{{str sub long|20090624130510|8|2}}</nowiki> returns the 2 characters starting at the 9th, i.e. "{{str_sub|20090624130510|8|2}}". | |desc = This template returns the substring of <text> starting at <start> and containing <length> characters.<br>{{Nobold|Base 0: the first character is numbered 0, and so on, e.g. <nowiki>{{str sub long|20090624130510|8|2}}</nowiki> returns the 2 characters starting at the 9th, i.e. "{{str_sub|20090624130510|8|2}}".}} | ||
|usage-notes = | |usage-notes = | ||
|namespace = template | |namespace = template | ||