The Cat ate my mouse

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


Richmond.

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: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html




More information about the use-livecode mailing list