Tcl_UniCharIsAlpha(3tcl)

πŸ“¦
version 9.0.4 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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