1
This template is used on approximately 292,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. Preview message: Transclusion count updated automatically (see documentation). |
This template uses Lua: |
{{Str find|text|sub_string}}
Returns the position of first appearance of sub_string in text.
In the examples, the string to be searched is Abcdefghijklm
:
Examples with empty parameters:
TemplateData for Str find
A template to find the numeric position of first appearance of ''sub_string'' in ''text''
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | 1 | The text to search within | String | required |
Sub_string | 2 | The string to be searched within the text | String | required |