Expletive Deleted.

Richmond richmondmathewson at gmail.com
Sun Mar 27 12:29:25 EDT 2011

on mouseUp
   put the number of chars in fld "TESTEXT" into CHARZ
   put (CHARZ - 2) into HARZ
   set the unicodeText of fld "TESTEXT" to char 1 to HARZ of fld "TESTEXT"
end mouseUp

works very well indeed (chopping off 2 because this is unicodeText) deleting
text from the end of the string.

The problem is how to get this to work just before an insertion point 
which is NOT at the end of the string.

More information about the use-livecode mailing list