Name
crange
- crange
string firstExpr lastExpr
Return a range of characters from string
string
, from indexfirstExpr
throughlastExpr
.Indices start at 0, and the words
end
andlen
can be used at the beginning of an expression to indicate the index of the last character and length of the string, respectively.
Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.