टेम्पलेट:Str find: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
imported>Drilnoth
छो Protected Template:Str find: Highly visible template ([edit=sysop] (indefinite) [move=sysop] (indefinite))
imported>Drilnoth
Use documentation subpage; pp-template
लाइन 1:
{{#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>