Tcl_UniCharIsAlnum, Tcl_UniCharIsAlpha, Tcl_UniCharIsControl,
Tcl_UniCharIsDigit, Tcl_UniCharIsGraph, Tcl_UniCharIsLower,
Tcl_UniCharIsPrint, Tcl_UniCharIsPunct, Tcl_UniCharIsSpace,
Tcl_UniCharIsUpper, Tcl_UniCharIsWordChar - routines for classification
of Tcl_UniChar characters
SYNOPSIS
#include <tcl.h>
int
Tcl_UniCharIsAlnum(ch)
int
Tcl_UniCharIsAlpha(ch)
int
Tcl_UniCharIsControl(ch)
int
Tcl_UniCharIsDigit(ch)
int
Tcl_UniCharIsGraph(ch)
int
Tcl_UniCharIsLower(ch)
int
Tcl_UniCharIsPrint(ch)
int
Tcl_UniCharIsPunct(ch)
int
Tcl_UniCharIsSpace(ch)
int
Tcl_UniCharIsUpper(ch)
int
Tcl_UniCharIsWordChar(ch)
ARGUMENTS
int ch (in) The Tcl_UniChar to be exam-
ined.
_________________________________________________________________
DESCRIPTION
All of the routines described examine Tcl_UniChars and return a boolean
value. A non-zero return value means that the character does belong to
the character class associated with the called routine. The rest of
Tcl_UniCharIsControl tests if the character is a Unicode control char-
acter.
Tcl_UniCharIsDigit tests if the character is a numeric Unicode charac-
ter.
Tcl_UniCharIsGraph tests if the character is any Unicode print charac-
ter except space.
Tcl_UniCharIsLower tests if the character is a lowercase Unicode char-
acter.
Tcl_UniCharIsPrint tests if the character is a Unicode print character.
Tcl_UniCharIsPunct tests if the character is a Unicode punctuation
character.
Tcl_UniCharIsSpace tests if the character is a whitespace Unicode char-
acter.
Tcl_UniCharIsUpper tests if the character is an uppercase Unicode char-
acter.
Tcl_UniCharIsWordChar tests if the character is alphanumeric or a con-
nector punctuation mark.
KEYWORDS
unicode, classification
Tcl 8.1 Tcl_UniCharIsAlpha(3)
Man(1) output converted with
man2html
|