fmt_parser.skipcc [method]
fmt_parser.skipcc( string class, int num = 2^31-1 (0x7fffffff) )
skips at most num
bytes that match the character class class
and returns the number of bytes skipped
- returns null and emits a warning if the class is empty/only contains the inversion symbol "^"
- may return null and emit a warning on unexpected read errors
stream = fmt_string_parser( "what is this" ); stream.skipcc( "a-z" ); // returns 4 stream.skipcc( "^a-z" ); // returns 1