Template:Str find/doc
From Species-ID
|
This is a documentation subpage for Template:Str find (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{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.
- Character position is 1 based (not 0 based as usual in calculations