Returns a string where all trailing to_trim characters have been removed.
String: Location of the string to trim Characters: Character to remove from the back of the string
Output-location: Location to store the output data
Trimming a string
“_ abc __” with the character
“_” would return
” _ abc “