Click or drag to resize

IsXDigit Function

Determine if the leftmost character in a string is a hex character (that is, digits from 1 through 9 and letters from A through F).

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

Parameters

pszString
Type: String
The string to examine.

Return Value

Type: Boolean
TRUE if the first character is hex; otherwise, FALSE.
Remarks
Examples
These examples illustrate IsXDigit() applied to various values:
X#
? IsXDigit("3FDE")                                        // TRUE
? IsXDigit("hjku")                                        // FALSE
See Also