Jump to content

Template:Str sub: Difference between revisions

From wikiNonStop
m Protected "Template:Str sub": Highly visible page or template: 9542 transclusions ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
 
m 1 revision imported: Initial
 
(No difference)

Latest revision as of 17:21, 29 December 2024

{{{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"