New user account creation has been disabled temporarily. Contact membership at (via e-mail) if you need one.

Template:Str sub long

From Wikimedia India Chapter
Revision as of 15:30, 25 May 2011 by Tinucherian (talk | contribs) (Created page with "<includeonly>{{{{{|safesubst:}}}#ifeq:{{{2|0}}}|0|{{{{{|safesubst:}}}str_left|{{{1}}}|{{{3|0}}}}}|<noinclude><!----></noinclude>{{{{{|safesubst:}}}#ifexpr:{{{2|0}}} < 1 and {{{2|...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
[edit] [purge] Template documentation


{{str sub long|text|start|length}}

= Substring of 


starting at 


and containing 


characters. Base 0: the first character is numbered 0, and so on, e.g. 

{{str sub long|20090624130510|8|2}}

returns the 2 characters starting at the 9th, i.e. "

Template:Str sub " start



must be less than 100.  Only operates on a limited character set.

See also