code: public static Optional<String> trimStart(final String input, String... chars) {
          return Optional.ofNullable(input).filter(v -> !v.isEmpty()).map(v -> {
              String pattern = String.format("^[%s]+", join(chars, "\\"));
              return v.replaceAll(pattern, "");
          });
      }
docs: Removes leading characters from string.
  
  @param input The string to trim.
  @param chars The characters to trim.
  @return Returns the trimmed string.