public void consumeSpaces() {
        while (Character.isWhitespace(s.charAt(p)))
            p++;
    }
Consumes zero or more whitespace characters starting at the current position
vespajlib/src/main/java/com/yahoo/text/PositionedString.java