isxdigit

Checks for a hexadecimal digits, i.e. one of 0 1 2 3 4 5 6 7 8 9 a b c d e f A B C D E F.

ISXDIGIT

NAME

isxdigitChecks for a hexadecimal digit, i.e. one of 0 1 2 3 4 5 6 7 8 9 a b c d e f A B C D E F.

SYNOPSIS

isxdigit("…");

DESCRIPTION

Checks for a hexadecimal digit, which are defined as anyone of the following character: 0 1 2 3 4 5 6 7 8 9 a b c d e f A B C D E F.

Iswxdigit operates on wide characters while isxdigit operates on single byte characters. If your locale is defined as multibyte, iswxdigit is the prefered solution.

EXAMPLES

if isxdigit(a) then
        "ok";
else
        "nok";
endif

SEE ALSO

{{ include("includes/strings.sn") }}

AUTHOR

Written by Pierre Laplante and Caroline Laplante, <laplante@sednove.com>

MODIFICATIONS

1.0 2014-09-09 21:24:14 laplante@sednove.com

Edit

© 2024 extenso Inc. All rights reserved.