Tcl Powered!NeoWebScript

Home
 
Download
User Info
New User FAQ
Tutorials
Demos
Commands
Variables
Troubleshooting
Sysop Info
Sysop FAQ
Theory
Installation
Management
Tests
Troubleshooting
Feedback
Resources
Release Notes
Credits
Disclaimer
CSUBSTR - Extended TCL
Synopsis * Description

Returns a range of characters from string for lengthExpr characters

Synopsis

  • csubstr string firstExpr lengthExpr

Description

Returns a range of characters from string starting at the character indexed by the expression firstExpr (zero-based) for lengthExpr characters.

If the expression firstExpr or lengthExpr 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.

Copyright © 1995-1999 NeoSoft Inc., 1770 St. James Place, Suite 500, Houston, TX 77056 USA. All Rights Reserved