Question: Create a variant of the Str_trim procedure that lets the caller remove all instances of a set of characters from the end of a string.
Create a variant of the Str_trim procedure that lets the caller remove all instances of a set of characters from the end of a string. For example, if you were to call it with a pointer to the string
“ABC#$&” and pass it a pointer to an array of filter characters containing “%#!;$&*”, the resulting string would be “ABC”.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
