code: private static int skipNonBlanks(String s, int p) {
          while (p < s.length() && !Character.isWhitespace(s.charAt(p)))
              p++;
          return p;
      }
docs: Skips non-blanks (no-white space) in string s starting at position p.