code: public static Character detectCharIfNone(String string, CharPredicate predicate, String resultIfNone)
      {
          Character result = StringIterate.detectChar(string, predicate);
          return result == null ? Character.valueOf(resultIfNone.charAt(0)) : result;
      }
docs: Find the first element that returns true for the specified {@code predicate}.  Return the first char of the
  default string if no value is found.