The Cat ate my mouse

dunbarxx dunbarx at
Sat Jun 16 15:47:52 EDT 2018


Say you have a field 1 with text in it.

on mouseUp
   select after char 12 of fld 1
  put the number of words of char 1 to (word 2 of the selectedChunk)of fld 1
into numWords
  select before word numWords of fld 1 -- or after
end mouseUp

Sent from:

More information about the Use-livecode mailing list