Sjabloon:Strfind short/doc
Naar navigatie springen
Naar zoeken springen
The Template:Strfind_short finds the location, in parameter {1} of the string {2}. If the string is not found, the result is zero (0), indicating no match.
- Usage: {{strfind short|abcdef|bcd}} {{#invoke:in5|in5|1=}} → {{#invoke:String|str_find|source=abcdef|bcd}}
- {{strfind short|123456789.|45}} → {{#Invoke:String|find|source=123456789.|45}}
- {{strfind short|x+2.437-6|2.43}} → {{#Invoke:String|find|source=x+2.437-6|2.43}}
- {{strfind short|:***abcd**|*ab}} → {{#Invoke:String|find|source=:***abcd**|*ab}}
Examples
The following are examples:
- {{strfind short|abcdef|bcd}} {{#invoke:in5|in5|1=}} → {{#Invoke:String|find|source=abcdef|bcd}}
- {{strfind short|Fast Forward (film)|(}} {{#invoke:in5|in5|1=}} → {{#Invoke:String|find|source=Fast Forward (film)|(}}
- {{strfind short|Fast Forward Longer (film)|(}} → {{#Invoke:String|find|source=Fast Forward Longer (film)|(}}
- {{strfind short|A Funny Thing Happened on the Way to the Forum (film)|(}} → {{#Invoke:String|find|source=A Funny Thing Happened on the Way to the Forum (film)|(}}
- {{strfind short|abcdef|x}} {{#invoke:in5|in5|1=}} → {{#Invoke:String|find|source=abcdef|x}}
- {{strfind short|abcdef|xyz}} {{#invoke:in5|in5|1=}} → {{#Invoke:String|find|source=abcdef|xyz}}
See also
- {{Str find}} - searches strings, but with expansion depth of 18 or more
{{#invoke: Navbox | navbox }}