Tcl_UniCharIsAlpha(3tcl)
π Tcl_UniCharIsAlpha β Tcl Library Procedures π
okay bestie, welcome to the Unicode character-classification corner of the Tcl library β¨ this page covers Tcl_UniCharIsAlnum, Tcl_UniCharIsAlpha, Tcl_UniCharIsControl, Tcl_UniCharIsDigit, Tcl_UniCharIsGraph, Tcl_UniCharIsLower, Tcl_UniCharIsPrint, Tcl_UniCharIsPunct, Tcl_UniCharIsSpace, Tcl_UniCharIsUpper and Tcl_UniCharIsWordChar β the whole girlies, and they're literally all about classification of Tcl_UniChar characters. no cap π
β¨ 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 Unicode character you want examined. that's the whole assignment, she's the main character πΈ
π DESCRIPTION π
so like, all of these routines look at Unicode characters and hand you back a boolean value, periodt. a non-zero return value means the character does belong to the character class that the routine you called is responsible for. that's it, that's the vibe π
the rest of this doc is just me telling you which character class goes with which routine. no skips, no shortcuts, we're doing all of them π
π CHARACTER CLASSES π
Tcl_UniCharIsAlnumβ tests if the character is an alphanumeric Unicode character. iconic behaviour β¨Tcl_UniCharIsAlphaβ tests if the character is an alphabetic Unicode character. yes queen, letters only πTcl_UniCharIsControlβ tests if the character is a Unicode control character. the sneaky invisible ones πTcl_UniCharIsDigitβ tests if the character is a numeric Unicode character. numbers, she ate π₯Tcl_UniCharIsGraphβ tests if the character is any Unicode print character except space. almost print, but no space allowed, sorry πTcl_UniCharIsLowerβ tests if the character is a lowercase Unicode character. soft launch energy π¦Tcl_UniCharIsPrintβ tests if the character is a Unicode print character. printable, presentable, glowing βTcl_UniCharIsPunctβ tests if the character is a Unicode punctuation character. the commas and exclamation points carrying the whole sentence πTcl_UniCharIsSpaceβ tests if the character is a whitespace Unicode character. taking up space, literally πΈTcl_UniCharIsUpperβ tests if the character is an uppercase Unicode character. ALL CAPS MOMENT πTcl_UniCharIsWordCharβ tests if the character is alphanumeric or a connector punctuation mark. the word-char girlie, she's versatile π§
π KEYWORDS π
unicode, classification
okay that's the whole page bestie, go forth and classify some characters ππ¦β¨
this was Tcl version 8.1, dated with the manual page Tcl_UniCharIsAlpha(3tcl) β ty for reading, ily, mwah π«Άπ
π¦ where this page comes from
- debian trixie: tcl9.0-doc 9.0.1+dfsg-2
- ubuntu questing: tcl9.0-doc 9.0.2+dfsg-1
- ubuntu resolute: tcl9.0-doc 9.0.3+dfsg-1
- ubuntu stonking: tcl9.0-doc 9.0.4+dfsg-1
- Copyright (c) 1997 Sun Microsystems, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms