code: public static void forEachChar(String string, CharProcedure procedure)
      {
          int size = string.length();
          for (int i = 0; i < size; i++)
          {
              procedure.value(string.charAt(i));
          }
      }
docs: For each char in the {@code string}, execute the {@link CharProcedure}.
  
  @since 7.0