Re: Constrain word delimiter to space only
I still forget about trueword. Thanks for the reminder. On Sat, Sep 17, 2016 at 3:56 PM, Richard Gaskinwrote: > 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 > > ambassa...@fourthworld.comhttp://www.FourthWorld.com > > ___ > 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 > ___ 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
Re: Constrain word delimiter to space only
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 ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ 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
Re: Constrain word delimiter to space only
set the itemdelimiter to space and use that instead. On Sat, Sep 17, 2016 at 3:30 PM, Sannyasin Brahmanathaswami < bra...@hindu.org> 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." > BR > ___ > 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 > ___ 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
Constrain word delimiter to space only
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." BR ___ 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