fmt_charcc [function]
fmt_charcc( string char, string class )
checks if the first character of string char
is included in the character class class
- character class is a regex-like list of specific symbols and ranges (its low and high symbols separated by "-"), optionally prepended by "^" that inverts the scope of the class
fmt_charcc( ".", "a-zA-Z0-9" ); // returns false fmt_charcc( "x", "a-zA-Z0-9" ); // returns true