Click or drag to resize

IsLower Function

Determine if the leftmost character in a string is a lowercase letter.

Namespace:  XSharp.Core
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.4a
Syntax
 FUNCTION IsLower(
	pszString AS STRING
) AS LOGIC
View Source

Parameters

pszString
Type: String
The string to examine.

Return Value

Type: Boolean
TRUE if the first character of the string is a lowercase letter; otherwise, FALSE.
Remarks
IsLower() is the inverse of IsUpper(), which determines whether a character begins with an uppercase character. Both IsLower() and IsUpper() relate to the Lower() and Upper() functions, which actually convert lowercase characters to uppercase, and vice versa. This function is nation-dependent.
Examples
These examples demonstrate various results of IsLower():
X#
1? IsLower("aBcDe")                    // TRUE
2? IsLower("AbcDe")                    // FALSE
3? IsLower("1abcd")                    // FALSE
4? IsLower("abcd")                    // TRUE
See Also