STRING::ISXDIGIT 1g 2024-04-15 laplante@plcb.ca GOWEB/STRING — Check for Hexadecimal Characters


title: “STRING::ISXDIGIT” version: “1.0.0” date: 2024-04-15 author: “laplante@plcb.ca” section: “1g”

category: “GOWEB/STRING”

Name

string::isxdigit Check for Hexadecimal Characters

Synopsis

string::isxdigit(string[, error: variable, string...])
isxdigit(string[, error: variable, string...])

Description

The isxdigit function checks whether the provided string contains only valid hexadecimal characters.

Valid characters are:

It returns:


Examples

res={{
    isxdigit("0123456789abcdefABCDEF");
    isxdigit("0123456789 abcdef ABCDEF");
}}.

Returns:

res=true
false

Author

laplante@plcb.ca

See Also


Version