Difference between revisions of "Template:Contains"
Jump to navigation
Jump to search
(Fix) |
m (Text replacement - "String Templates" to "String manipulation templates") |
||
Line 1: | Line 1: | ||
− | <noinclude>[[category:String | + | <noinclude>[[category:String manipulation templates]]'''This template tests whether the 2nd argument contains the 1st'''.<br/> |
<br/> | <br/> | ||
Usage: | Usage: | ||
:<nowiki>{{</nowiki>{{PAGENAME}}|needle|haystack}}<br/> | :<nowiki>{{</nowiki>{{PAGENAME}}|needle|haystack}}<br/> | ||
</noinclude><includeonly>{{#pos:{{{2|}}}|{{{1|}}}}}</includeonly> | </noinclude><includeonly>{{#pos:{{{2|}}}|{{{1|}}}}}</includeonly> |
Latest revision as of 17:18, 16 April 2015
This template tests whether the 2nd argument contains the 1st.
Usage:
- {{Contains|needle|haystack}}