Template:Str sub: Difference between revisions

From Bonkipedia
[[mw:]]>ExE Boss
(Add default values for parameters `2` and `3`; Use <onlyinclude> and {{subst:InitDoc}})
 
m (1 revision imported: Workaround and Utility Templates)
 
(No difference)

Latest revision as of 17:52, 12 November 2022

{{{1}}}

Template documentation

Usage

{{str_sub|text|start|end}} = Substring of text starting at start and going to end characters. Base 1: the first character is numbered 1, and so on, e.g. {{str_sub|20090624130510|1|4}} returns the 4 characters starting at the 1st, i.e. "2009" or {{str_sub|20090624130510|7|8}} returns the 2 characters starting at the 7th, i.e. "24"

bn:টেমপ্লেট:Str sub de:Vorlage:Str sub es:Plantilla:Str sub id:Templat:Str sub arz:قالب:Str sub ja:Template:Str sub no:Mal:Str sub pt:Predefinição:Str sub simple:Template:Str sub sl:Predloga:Str sub