String and character manipulation commands
These commands provide functionality to classify
characters, convert characters between character and
numeric values, convert an index into a string, determine
the length of a string, extract a range of characters from
a string, replicate a string a number of times, and
transliterate a string (similar to the UNIX
tr(1)
program).
Available commands are:
cequal(1tcl)-
compares two strings for equality
cexpand(1tcl)-
expands backslash characters in a string to actual characters
cindex(1tcl)-
returns the character indexed by the given expression from string
clength(1tcl)-
returns the length of a string in characters
crange(1tcl)-
returns a range of characters from a string
csubstr(1tcl)-
returns a substring of characters from a string
ctoken(1tcl)-
parses a token out of a character string
ctype(1tcl)-
tests whether characters in a string are of a given class
replicate(1tcl)-
replicates a string n times
translit(1tcl)-
changes characters in inrange to outrange
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004