fmt_parser.getchar [method]

fmt_parser.getchar( bool peek = false, bool as_int = false )

returns a character from stream

stream = fmt_string_parser( "action" );
stream.read( true ); // returns "a"
stream.read( true, true ); // returns 97
stream.read(); // returns "a"
stream.read(); // returns "c"