iswblank - Tests for whitespace wide character.
iswblank("…");
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’.
if iswblank(a) then "ok"; else "nok"; endif
{{ include("includes/strings.sn") }}
Written by Pierre Laplante and Caroline Laplante, <laplante@sednove.com>
1.0 2014-09-09 21:24:14 laplante@sednove.com
Edit© 2024 extenso Inc. All rights reserved.