Goto main content

iswxdigit

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.

ISWXDIGIT

NAME

iswxdigitChecks 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

iswxdigit("…");

DESCRIPTION

Checks for a hexadecimal digit, which can be anyone of the following: 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 iswxdigit(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.