Click or drag to resize

IsLower Function

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

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

Parameters

pszString
Type: String
The string to examine.

Return Value

Type: Logic
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