Goto main content

isblank

Test for whitespace wide character.

ISBLANK

NAME

isblank - Tests for whitespace wide characters

SYNOPSIS

isblank("…");

DESCRIPTION

isblank tests for whitespace wide characters

iswblank operates on wide characters while isblank operates on single byte characters. If your locale uses multibytes, iswblank is the prefered solution.

The iswblank() function is the wide-character equivalent of the isblank() function. It tests whether wc is a wide character belonging to the wide character class "blank".

The wide character class "blank" is a subclass of the wide character class "space".

Being a subclass of the wide character class "space", the wide character class "blank" is disjointed from the wide character class "graph" and therefore also disjoint from its subclasses "alnum", "alpha", "upper", "lower", "digit", "xdigit", "punct".

The wide character class "blank" always contains at least the space character and the control character ’\t’.

EXAMPLES

if isblank(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.