Module:Str find word/doc: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 15:
 
''AND''-list of words, all words must be present:
:<code><nowiki>{{#invoke:Str find word|main |source=alpha, beta, gamma |andwords=beta, alpha}}</nowiki></code> <small>({{code|1=true}})</small> &rarr; {{#invoke:Str find word |main |source=alpha, beta, gamma|andwords=beta, alpha}}
:<code><nowiki>{{#invoke:Str find word|main |source=alpha, beta, gamma |andwords=beta, omega}}</nowiki></code> <small>({{code|1=false}})</small> &rarr; {{#invoke:Str find word |main |source=alpha, beta, gamma |andwords=beta, omega}}
 
''OR''-list of words, at least one off the words must be present:
:<code><nowiki>{{#invoke:Str find word|main |source=alpha, beta, gamma|orwords=beta, alpha}}</nowiki></code> <small>({{code|1=true}})</small> &rarr; {{#invoke:Str find word |main |source=alpha, beta, gamma |orwords=beta, alpha}}
:<code><nowiki>{{#invoke:Str find word|main |source=alpha, beta, gamma|orwords=beta, omega}}</nowiki></code> <small>({{code|1=false}})</small> &rarr; {{#invoke:Str find word |main |source=alpha, beta, gamma |orwords=beta, omega}}
 
Complete words: the complete word is '{{mono|1=foobar}}' (example needed)