ClickText function and punctuation

Bill Vlahos bvlahos at mac.com
Sat May 19 14:36:26 EDT 2012


Words are defined by LiveCode to include punctuation.
	put word 2 of "the check-up is good" returns "check-up"

The clickText function doesn't include punctuation in the word.
	If you put the phrase "the check-up is good" in a locked field, clickText only returns either "check" or "up" depending on which part is clicked.

How do I include punctuation in the entire word the user clicks on?
	In this example I want "check-up" returned

Bill Vlahos




More information about the use-livecode mailing list