function

iswblank . string . sncode

VERSIONlatest Test for whitespace wide character.

ISWBLANK

NAME

iswblank - Tests for whitespace wide character.

SYNOPSIS

iswblank("…");

DESCRIPTION

This function is used to check for whitespace wide character.

It operates on wide characters while isblank operates on single byte characters. If your locale is defined as multibyte, 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 disjointed 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 iswblank(a) then
        "ok";
else
        "nok";
endif

AUTHOR

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