.true if phrase
is found in the receiving string.
Returns .false if phrase
contains no words or if phrase
is not found.
Word matches are made independent of case.
Multiple whitespace characters between words in either
phrase or the receiving string are
treated as a single blank for the comparison, but, otherwise, the words
must match, except for case.caselessContainsWord returns .false exactly if
caselessWordPos would have returned
"0".)
good = "Now is the time for all good men"
good~caselessContainsWord("the") -- .true
good~caselessContainsWord("The") -- .true
good~caselessContainsWord("is the") -- .true
good~caselessContainsWord("is the ") -- .true
good~caselessContainsWord("is time") -- .false
good~caselessContainsWord("time") -- .true
good~caselessContainsWord("time", 5) -- .false