VB6 - Remove last comma in Textbox
Posted on 2014-02-12
I would like to know how i can remove in my Text5 the last comma chowing at the end.
If i have the value ; 1,2,3,4,5,6,7,8,
Then, it should remove the last ",".
The final answer would be: 1,2,3,4,5,6,7,8
But if i have the value: 1,2,3,4,5,6,7,8
Then since their is no comma as the last digit in the TextBox, the final answer would stay the same: 1,2,3,4,5,6,7,8
How can i do that?