No, there isn't. You'll need to use Left and Len, although you could write it in one statement:
strAfter = Left(aString, Len(aString) - 1)
or
aString = Left(aString, Len(aString) - 1)
to reassign the value of aString back to aStrign immediately.
You could also use InStrRev to get the position of the last comma in the string. Look at the Functions list for
VB Script for more details:
http://msdn.microsoft.com/library/de...iFunctions.asp
But it all comes down to the same.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.