Vorlage:Str find

Aus Kitakien

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
Zeile 56: Zeile 56:
<nowiki>{{str_find|</nowiki>''text''|''character''<nowiki>}}</nowiki> = Position of first appearance of ''character'' in ''text''.
<nowiki>{{str_find|</nowiki>''text''|''character''<nowiki>}}</nowiki> = Position of first appearance of ''character'' in ''text''.
-
Only searches first 50 characters of ''text''.  Returns -1 if ''character'' not found in first 50 characters.</noinclude>
+
Only searches first 50 characters of ''text''.  Returns -1 if ''character'' not found in first 50 characters.
 +
 
 +
[[Category:String manipulation templates]]
 +
</noinclude>

Version vom 02:14, 27. Feb. 2009


{{str_find|text|character}} = Position of first appearance of character in text.

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

Persönliche Werkzeuge