Module:Str find word/doc: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 9:
 
For example, in the source string '{{mono|1=foo, bar}}' the word '{{mono|1=bar}}' appears, but the word '{{mono|1=november}}' does not.
:<code><nowiki>{{#invoke:Str find word|main |source=foo, bar|word=bar}}</nowiki></code> <small>({{code|1=true}})</small> &rarr; {{#invoke:Str find word|main |source=foo, bar|word=bar}} ({{code|True}})
:<code><nowiki>{{#invoke:Str find word|main |source=alpha, beta, gamma|word=november}}</nowiki></code> <small>({{code|1=false}})</small> &rarr; {{#invoke:Str find word|main |source=alpha, beta, gamma|word=november}}