OverviewExamples
string String.TrimRight ( |
trimmed = String.TrimRight("14345", "54");
Removes the characters in the string "54" from the source string "14345" and stores the resulting string "143" in the variable "trimmed."
trimmed_space = String.TrimRight("Bob ", nil);
Removes the trailing spaces from the source string and returns the string "Bob" in the variable "trimmed_space."
See also: Related Actions