string_strip

Strips the given characters from the beginning and end of the input string.

Any character in the characters string will be stripped from the input string endings.

Inputs

string

The input string.

characters

The characters to be stripped from the input string endings.

Output

stripped

The input string with the requested characters stripped.