DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

cindex(1tcl)


cindex -- return character indexed by given expression from string

Synopsis

cindex string indexExpr

Description

Returns the character indexed by the expression indexExpr (zero based) from string.

If the expression indexExpr starts with the string ``end'', then ``end'' is replaced with the index of the last character in the string. If the expression starts with ``len'', then ``len'' is replaced with the length of the string.


25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004