I have problem that sometimes the user add unnecessary character at the end of a string.
It should be like this,
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