This function will remove the last character specified in a string.
Syntax:TrimEnd(Value,TrimValue)
Value is the input String from which the last character has to be trimmed off. “TrimValue” should be the last character that needs to be removed from the given input.
Examples:
TrimEnd(TextBox1.Value,”o”)
TextBox1.Value=Ronaldo
The function will return the value Ronald