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

_______________________________________________
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

Reply via email to