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 Unicode characters and return a
57       boolean value. A non-zero return value means that  the  character  does
58       belong  to  the character class associated with the called routine. The
59       rest of this document just describes the character  classes  associated
60       with the various routines.
61
62

CHARACTER CLASSES

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

KEYWORDS

98       unicode, classification
99
100
101
102Tcl                                   8.1                Tcl_UniCharIsAlpha(3)
Impressum