CharExtensions
Useful methods for chars.
Converts a given character from the hex representation (0-9A-Fa-f)
to an integer.
Determines if the given character is a alphanumeric character
(0-9a-zA-z) as specified here:
http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#alphanumeric-ascii-characters
Determines if the given character is a digit (0-9) as specified
here:
http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#ascii-digits
Determines if the given character is a hexadecimal (0-9a-fA-F) as
specified here:
http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#ascii-hex-digits
Determines if the given character is in the given range.
Determines if the given character is invalid, i.e. zero, above the
max. codepoint or in an invalid range.
Gets if the character is actually a (A-Z,a-z) letter.
Determines if the given character is a line break character as
specified here:
http://www.w3.org/TR/html401/struct/text.html#h-9.3.2
Determines if the given character is a lowercase character (a-z) as
specified here:
http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#lowercase-ascii-letters
Gets if the character is actually a name character.
Determines if the given character is a valid character for starting
an identifier.
Gets if the character is actually a non-ascii character.
Gets if the character is actually a non-printable (special)
character.
Determines if the given character is allowed as-it-is in paths.
Determines if the given character is allowed as-it-is in queries.
Determines if the given character is one of the two others.
Determines if the given character is one of the three others.
Determines if the given character is one of the four others.
Determines if the given character is a space character as specified
here:
http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#space-character
Determines if the given character is a uppercase character (A-Z) as
specified here:
http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#uppercase-ascii-letters
Determines if the given character is a valid url code point as specified here:
http://url.spec.whatwg.org/#url-code-points
Determines if the given character is a white-space character as
specified here:
http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#white_space
Transforms the given number to a hexadecimal string.
Transforms the given character to a hexadecimal string.