Hi,
I have problem that sometimes the user add unnecessary character at the end of a string.
For example,
-
000111|000222|000333|
-
000734|000143|012392|643221|213331|
It should be like this,
-
000111|000222|000333
-
000734|000143|012392|643221|213331
The “|” symbol only should be there when user wants to separate those 6 digits. It should not be at the end because after the “|” symbol, there is no 6 digit value.
Please show me how to tackle this problem. Thank you in advance