Bearbeiten von „Vorlage:Str sub“
Die Bearbeitung kann rückgängig gemacht werden. Bitte prüfe den Vergleich unten, um sicherzustellen, dass du dies tun möchtest, und veröffentliche dann unten deine Änderungen, um die Bearbeitung rückgängig zu machen.
Aktuelle Version | Dein Text | ||
Zeile 1: | Zeile 1: | ||
=== Usage === | === Usage === | ||
<code><nowiki>{{str_sub|</nowiki>''text''|''start''|''end''<nowiki>}}</nowiki></code> = Substring of ''text'' starting at ''start'' and going to ''end'' characters. Base 1: the first character is numbered 1, and so on, e.g. <nowiki>{{str_sub|20090624130510|1|4}}</nowiki> returns the 4 characters starting at the 1st or <nowiki>{{str_sub|20090624130510|7|8}}</nowiki> returns the 2 characters starting at the 7th. | <code><nowiki>{{str_sub|</nowiki>''text''|''start''|''end''<nowiki>}}</nowiki></code> = Substring of ''text'' starting at ''start'' and going to ''end'' characters. Base 1: the first character is numbered 1, and so on, e.g. <nowiki>{{str_sub|20090624130510|1|4}}</nowiki> returns the 4 characters starting at the 1st or <nowiki>{{str_sub|20090624130510|7|8}}</nowiki> returns the 2 characters starting at the 7th. | ||
<includeonly>{{{{{|safesubst:}}}#invoke:String|sub|{{{1}}}|{{{2}}}|{{{3}}}}}</includeonly><noinclude> | |||
{{MediaWiki|Template:Str_sub}} | {{MediaWiki|Template:Str_sub}} | ||
</noinclude> | </noinclude> |