"टेम्पलेट:Str find" की अवतरण में अंतर

Updated to use the more efficient {{str len full}}. Tested in /sandbox. And only use is {{italictitle}} and tested the sandbox version on that one too. And removed unneeded <includeonly> tags.
imported>Happy-melon
छो (Reverted edits by Happy-melon (talk) to last version by Dragons flight)
imported>Davidgothberg
(Updated to use the more efficient {{str len full}}. Tested in /sandbox. And only use is {{italictitle}} and tested the sandbox version on that one too. And removed unneeded <includeonly> tags.)
<includeonly>{{#titleparts: {{str_findstr find/logic|{{{1|}}}|{{{2|}}}|{{str_lenstr len full|{{{2|}}}}}}}-1 | 1 }}</includeonly><noinclude>
 
 
<nowiki>{{str_find|</nowiki>''text''|''sub_string''<nowiki>}}</nowiki> = Position of first appearance of ''sub_string'' in ''text''.
== Template documentation ==
 
<nowiki>{{str_findstr 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.
नामालूम प्रयोगकर्ता