public static String erase(String line, int from) {
    return erase(line, from, line.length());
  }
Utility methods for text processing.

@author Peter Niederwieser
spock-core/src/main/java/org/spockframework/util/TextUtil.java