Constrain word delimiter to space only
Mike Bonner
bonnmike at gmail.com
Sat Sep 17 17:57:52 EDT 2016
I still forget about trueword. Thanks for the reminder.
On Sat, Sep 17, 2016 at 3:56 PM, Richard Gaskin <ambassador at fourthworld.com>
wrote:
> Sannyasin Brahmanathaswami wrote:
>
> > if you do this
> >
> > put "He said, " & quote & "LiveCode has a very supportive community."
> > & quote into tQuote
> > put word 3 of the quote
> >
> >
> > you get ""LiveCode has a very supportive community."
> >
> > is there a way to contrain the word delimiter to not include the
> > straight quote as a delimiter?
> >
> > from an editor's point of view, this has 8 words not 3
> >
> > He said, "LiveCode has a very supportive community."
>
> The trueWord chunk type was added early in the v7 series to take advantage
> of the Unicode lib's parsing rules that account for quotes and punctuation.
>
> e.g.:
>
> put trueWord 3 of tQuote
>
> --
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> Ambassador at FourthWorld.com http://www.FourthWorld.com
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list