Strip a set of characters from a string: Difference between revisions
Content added Content deleted
(promoted to task) |
|||
Line 1: | Line 1: | ||
{{ |
{{task}} |
||
The task is to create a function that strips a set of characters from a string. The function should take two arguments: the first argument being a string to stripped and the second, a string containing the set of characters to be stripped. The returned string should contain the first string, stripped of any characters in the second argument: |
The task is to create a function that strips a set of characters from a string. The function should take two arguments: the first argument being a string to stripped and the second, a string containing the set of characters to be stripped. The returned string should contain the first string, stripped of any characters in the second argument: |
||