java string erase last 3 characters code example
Example 1: c# remove last character from string
string Name = "Teste,"
string ReturnName = "";
ReturnName = Name.Remove(Name.Length - 1);
Example 2: kotlin string remove last 3 digits
str.substring(0, str.length() - 2);