This is what I have
set onlineCode to "50318284114101"
set thesuffix to "2"
set NewOnlineCode to (characters 1 thru -2 of onlineCode as string) & (thesuffix)
and give me the result of 50318284114102
However when its in a handler I am getting this result.
How can I stop this happening?