1Tcl_UniCharIsAlpha(3)       Tcl Library Procedures       Tcl_UniCharIsAlpha(3)
2
3
4
5______________________________________________________________________________
6

NAME

8       Tcl_UniCharIsAlnum,      Tcl_UniCharIsAlpha,      Tcl_UniCharIsControl,
9       Tcl_UniCharIsDigit,       Tcl_UniCharIsGraph,       Tcl_UniCharIsLower,
10       Tcl_UniCharIsPrint,       Tcl_UniCharIsPunct,       Tcl_UniCharIsSpace,
11       Tcl_UniCharIsUpper, Tcl_UniCharIsWordChar - routines for classification
12       of Tcl_UniChar characters
13

SYNOPSIS

15       #include <tcl.h>
16
17       int
18       Tcl_UniCharIsAlnum(ch)
19
20       int
21       Tcl_UniCharIsAlpha(ch)
22
23       int
24       Tcl_UniCharIsControl(ch)
25
26       int
27       Tcl_UniCharIsDigit(ch)
28
29       int
30       Tcl_UniCharIsGraph(ch)
31
32       int
33       Tcl_UniCharIsLower(ch)
34
35       int
36       Tcl_UniCharIsPrint(ch)
37
38       int
39       Tcl_UniCharIsPunct(ch)
40
41       int
42       Tcl_UniCharIsSpace(ch)
43
44       int
45       Tcl_UniCharIsUpper(ch)
46
47       int
48       Tcl_UniCharIsWordChar(ch)
49

ARGUMENTS

51       int ch (in)          The Tcl_UniChar to be examined.
52_________________________________________________________________
53
54

DESCRIPTION

56       All of the routines described examine Tcl_UniChars and return a boolean
57       value. A non-zero return value means that the character does belong  to
58       the  character  class  associated  with the called routine. The rest of
59       this document just describes the character classes associated with  the
60       various routines.
61
62       Note:  A Tcl_UniChar is a Unicode character represented as an unsigned,
63       fixed-size quantity.
64
65

CHARACTER CLASSES

67       Tcl_UniCharIsAlnum tests if the character is  an  alphanumeric  Unicode
68       character.
69
70       Tcl_UniCharIsAlpha  tests  if  the  character  is an alphabetic Unicode
71       character.
72
73       Tcl_UniCharIsControl tests if the character is a Unicode control  char‐
74       acter.
75
76       Tcl_UniCharIsDigit  tests if the character is a numeric Unicode charac‐
77       ter.
78
79       Tcl_UniCharIsGraph tests if the character is any Unicode print  charac‐
80       ter except space.
81
82       Tcl_UniCharIsLower  tests if the character is a lowercase Unicode char‐
83       acter.
84
85       Tcl_UniCharIsPrint tests if the character is a Unicode print character.
86
87       Tcl_UniCharIsPunct tests if the  character  is  a  Unicode  punctuation
88       character.
89
90       Tcl_UniCharIsSpace tests if the character is a whitespace Unicode char‐
91       acter.
92
93       Tcl_UniCharIsUpper tests if the character is an uppercase Unicode char‐
94       acter.
95
96       Tcl_UniCharIsWordChar  tests if the character is alphanumeric or a con‐
97       nector punctuation mark.
98
99

KEYWORDS

101       unicode, classification
102
103
104
105Tcl                                   8.1                Tcl_UniCharIsAlpha(3)
Impressum