This function takes a string and deletes the last comma in it. It is meant for strings with a trailing comma such as "13, 24, 15, "
- function deleteLastComma(valStr)
- lastCommaPos = instrrev(valStr, ",")
- valStr = mid(valStr, 1, lastCommaPos - 1)
- deleteLastComma = valStr
- end function
CommentsSubscribe to comments
You need to login to post a comment.