Unexpected "word" parsing

Bob Sneidar bobsneidar at iotecdigital.com
Fri Dec 5 18:23:04 EST 2014


If that is the case, then word 1 return the correct value, word 2 is incorrect. Word boundaries are spaces and there are no spaces so word 1 *should* be the whole string and word 2 should be empty.

Bob S


On Dec 5, 2014, at 13:42 , dunbarx at aol.com<mailto:dunbarx at aol.com> wrote:

word 1 of a string like myProps["cProp"] returns the whole string. Word 2
returns"cProp"]

Since cProp is enclosed in double quotes I was expecting:

word 1 --> myProps[
word 2 --> "cProp"
word 3--> ]

This is with LC 6.6.2/OSX.

Pete




More information about the use-livecode mailing list