The input string from which to remove the substrings.
The left substring to remove.
The right substring to remove.
The flags for the RegExp. Default is an empty string.
const input = 'Hello World';
const left = 'Hello ';
const right = ' World';
strUnwrap(input, left, right);
//=> 'World'
Generated using TypeDoc
Removes the specified left and right substrings from the input string.