removeFirstAndLastAny method

String removeFirstAndLastAny(
  1. Iterable<String?> patterns
)

Continuously removes from the beginning & the end of the String, any match in patterns.

Implementation

String removeFirstAndLastAny(Iterable<String?> patterns) => removeFirstAny(patterns).removeLastAny(patterns);