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

विकिपीडिया से
Content deleted Content added
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.
imported>Davidgothberg
Changed all references from {{str len full}} to {{str len}} due to move to that name.
लाइन 1: लाइन 1:
{{#titleparts: {{str find/logic|{{{1|}}}|{{{2|}}}|{{str len full|{{{2|}}}}}}}-1 | 1 }}<noinclude>
{{#titleparts: {{str find/logic|{{{1|}}}|{{{2|}}}|{{str len|{{{2|}}}}}}}-1 | 1 }}<noinclude>





03:03, 30 मार्च 2009 तक ले भइल बदलाव

टेम्पलेट:Str find/logic-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.