string-remove-duplicate-heads-tails

Detect and (recursively) remove head and tail wrappings around the input string

Browse on unpkg