csubstr

csubstr is a command in the TclX package.

csubstr string firstExpr lengthExpr

Return a substring of string that starts at firstExpr and contains lengthExpr characters.

See also crange and consider using string range.