Hi, Can someone help me with the code to remove the last letter in a string.
thanks
Printable View
Hi, Can someone help me with the code to remove the last letter in a string.
thanks
Sure.
VB Code:
str = left(str,len(str)-1)
or if just want the last letter
str = Right(str,1)
;)