Hi Richmond, That seems to leave me with the string I want to delete. Even so thank you for the code.
John Balgenorth On Aug 24, 2014, at 8:46 AM, Richmond <richmondmathew...@gmail.com> wrote: > on mouseUp > put fld "TEXXT" into TEXXT > put the number of chars in TEXXT into CHNMB > repeat CHNMB times > if the last char of TEXXT is "A" then > delete the last char of TEXXT > end if > if the last char of TEXXT is "B" then > delete the last char of TEXXT > end if > if the last char of TEXXT is "C" then > delete the last char of TEXXT > end if > put TEXXT into fld "TEXXT" > end repeat > end mouseUp _______________________________________________ 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