Module:Str find word/doc: Difference between revisions

Content deleted Content added
No edit summary
Line 45:
| {{#invoke:Str find word|main |explain=true |source=alpha, uc-all|word=uc-all}}
| {{aye}}
|
| "-" (hyphen) is part of the word
|-
| {{para|1=source|2=alpha, do_something, whiteuc-all}}
| {{para|word|do_somethinghello world_}}
| {{#invoke:Str find word|main |explain=true |source=alpha, do_somethinghello world_, whitebar|word=do_somethinghello world_}}
| {{aye}}
| "_"the (underscore)comma is part of the word-delimiter
|-
|-
| {{para|1=source|2=alpha, foo, lima}}
| {{para|word1=source|november2=alpha, uc-all}}
| {{para|word|hello world_}}
| {{#invoke:Str find word|main |explain=true |source=alpha, foohello world_, limabar|word=novemberhello world_}}
| {{nay}}
| {{aye}}
| The comma is the word-delimiter
|-
| {{para|1=source|2=alpha, foobar, lima}}
| {{para|word|foo}}
| {{#invoke:Str find word|main |explain=true |source=alpha,Foo foobar  Bar , lima|word=foo  Foo   Bar}}
| {{nayaye}}
| Spaces are trimmed, multi-space into one space
| 'foo' is not the complete word
|-
| {{para|1=source|2=alpha, foo, lima}}