stripLeft method

String stripLeft(
  1. String pattern
)

Implementation

String stripLeft(String pattern) {
  int i = 0;
  while (this.startsWith(pattern, i)) i += pattern.length;
  return this.substring(i);
}