The strTrimEnd()
method removes whitespace from the end of a string.
The value to be trimmed.
A new string representing str stripped of whitespace from its end (right side). If the end of str has no whitespace, a new string is still returned (essentially a copy of str), with no exception being thrown.
Alias for
strTrimEnd()
method removes whitespace from the end of a string.Param: value
The value to be trimmed.
Returns
A new string representing str stripped of whitespace from its end (right side). If the end of str has no whitespace, a new string is still returned (essentially a copy of str), with no exception being thrown.