Vorlage:Str find

Aus Kitakien

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Changed all references from {{str len full}} to {{str len}} due to move to that name.)
(whitespace hack)
Zeile 1: Zeile 1:
-
{{#titleparts: {{str find/logic|{{{1|}}}|{{{2|}}}|{{str len|{{{2|}}}}}}}-1 | 1 }}<noinclude>
+
{{#titleparts: {{str find/logic|{{{1|}}}|{{{2|}}}|{{str len|*{{{2|}}}*}}-2}}-1 | 1 }}<noinclude>

Version vom 13:40, 30. Apr. 2009

1


Template documentation

{{str find|text|sub_string}} = Position of first appearance of sub_string in text.

Only searches first 50 characters of text. Returns -1 if sub_string not found in first 50 characters.

Persönliche Werkzeuge