Trueword reads text as we do, ignoring most punctuation. LC's word definition does not do that except for instances of white space and words within quotes. Since there are no spaces in the last line of the example, the whole line is a word.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 30, 2021 8:49:45 AM Mark Smith via use-livecode <use-livecode@lists.runrev.com> wrote:

That was brilliant. Relatedly, why does “ the last word” not return $8,303.32 since it is delimited by quotes (and the dictionary says, "A word is delimited <> by one or more spaces, tabs, or returns, or enclosed by double quotes <>." <>, and is there a list of “unicode word breaks” lying around somewhere



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to