The char package contains function to work with characters such as isUpper, isLower, isDigit, toLower, toUpper, isWhiteSpace, isAscii, isLatin1
Equal character (=
) code (61).
Returns the character at the specified index of a string.
Checks if the given value is an ASCII character.
Checks if the character at the specified index in the given string is an ASCII character.
Checks if a character is between two other characters.
Checks if the given value is a digit.
Checks if the character at the specified index in the given string is a digit.
Checks if the character at the specified index in the given string is a digit.
Checks if the given value is a Latin-1 character.
Checks if the character at the specified index in the given string is a Latin-1 character.
Latin-1 characters have code points less than the latinMax
constant.
Checks if the given value represents a letter.
Checks if the character at the specified index in the given string is a letter.
Checks whether the given value is a letter or a digit.
Checks whether the character at the specified index in the given string is a letter or digit.
Checks whether the character at the specified index in the given string is a letter or a digit in UTF-16 encoding.
Checks if the character at the specified index in the given string is a UTF-16 letter.
Checks if the given value represents a lowercase character.
Checks if the character at the specified index in the given string is a lowercase letter.
Checks if the given UTF-16 value represents a lowercase character.
Checks if the character at the specified index in the given string is a lowercase UTF-16 character.
Checks if the given value represents an uppercase character.
Checks if the character at the specified index in the given string is an uppercase letter.
Checks if the given UTF-16 value represents an uppercase character.
Checks if the character at the specified index in the given string is an uppercase UTF-16 character.
Checks if the given character is a whitespace character.
Checks if the character at the specified index in the given string is a whitespace character.
Converts the given Unicode code point to its lowercase equivalent. If the code point is already lowercase or non-letter, it returns the same value. If the code point represents an uppercase letter, it converts it to lowercase. If the code point represents a titlecase or uppercase letter with a specific locale, it converts it to lowercase based on the specified locale.
Converts the given UTF-16 code unit to its lowercase equivalent. If the code unit represents an uppercase letter, it is converted to lowercase. If the code unit is already lowercase or a non-letter, it is returned as is. If the code unit is not a valid Unicode character, undefined is returned.
Converts a lowercase letter to uppercase. If the input value is already uppercase or a non-letter, it returns the input value as is. If the input value is a lowercase letter, it converts it to uppercase using the specified locales.
Converts a UTF-16 character code to its uppercase equivalent.
Equal character (=
) code (61).
Returns the character at the specified index of a string.
Checks if the given value is an ASCII character.
Checks if the character at the specified index in the given string is an ASCII character.
Checks if a character is between two other characters.
Checks if the given value is a digit.
Checks if the character at the specified index in the given string is a digit.
Checks if the character at the specified index in the given string is a digit.
Checks if the given value is a Latin-1 character.
Checks if the character at the specified index in the given string is a Latin-1 character.
Latin-1 characters have code points less than the latinMax
constant.
Checks if the given value represents a letter.
Checks if the character at the specified index in the given string is a letter.
Checks whether the given value is a letter or a digit.
Checks whether the character at the specified index in the given string is a letter or digit.
Checks whether the character at the specified index in the given string is a letter or a digit in UTF-16 encoding.
Checks if the character at the specified index in the given string is a UTF-16 letter.
Checks if the given value represents a lowercase character.
Checks if the character at the specified index in the given string is a lowercase letter.
Checks if the given UTF-16 value represents a lowercase character.
Checks if the character at the specified index in the given string is a lowercase UTF-16 character.
Checks if the given value represents an uppercase character.
Checks if the character at the specified index in the given string is an uppercase letter.
Checks if the given UTF-16 value represents an uppercase character.
Checks if the character at the specified index in the given string is an uppercase UTF-16 character.
Checks if the given character is a whitespace character.
Checks if the character at the specified index in the given string is a whitespace character.
Converts the given Unicode code point to its lowercase equivalent. If the code point is already lowercase or non-letter, it returns the same value. If the code point represents an uppercase letter, it converts it to lowercase. If the code point represents a titlecase or uppercase letter with a specific locale, it converts it to lowercase based on the specified locale.
Converts the given UTF-16 code unit to its lowercase equivalent. If the code unit represents an uppercase letter, it is converted to lowercase. If the code unit is already lowercase or a non-letter, it is returned as is. If the code unit is not a valid Unicode character, undefined is returned.
Converts a lowercase letter to uppercase. If the input value is already uppercase or a non-letter, it returns the input value as is. If the input value is a lowercase letter, it converts it to uppercase using the specified locales.
Converts a UTF-16 character code to its uppercase equivalent.