Vorlage:Str find

Aus Kitakien

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
K (Protected Template:Str find: Highly visible template ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(Use documentation subpage; pp-template)
Zeile 1: Zeile 1:
-
{{#titleparts: {{str find/logic|{{{1|}}}|{{{2|}}}|{{str len|*{{{2|}}}*}}-2}}-1 | 1 }}<noinclude>
+
{{#titleparts: {{str find/logic|{{{1|}}}|{{{2|}}}|{{str len|*{{{2|}}}*}}-2}}-1 | 1 }}<noinclude>{{pp-template}}{{documentation}}</noinclude>
-
 
+
-
 
+
-
== Template documentation ==
+
-
 
+
-
<nowiki>{{str find|</nowiki>''text''|''sub_string''<nowiki>}}</nowiki> = 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.
+
-
 
+
-
[[Category:String manipulation templates]]
+
-
</noinclude>
+

Version vom 02:47, 5. Jun. 2009

1Vorlage:Pp-templateVorlage:Documentation

Persönliche Werkzeuge