Stripping trailing spaces from a string

Jim Witte jswitte at bloomington.in.us
Sat Mar 4 23:00:21 EST 2006


How can I use a RegEx to strip trailing white-space?  I tried:

get matchText(theExpr, "(.*)\s*", theExpr)

where theExpr is "0025E95C mov      r5, r0                         	"



More information about the use-livecode mailing list