string range "abcde" 0 3returns "abcd" and
string range "abcdefgh" 3 5returns "def".If you do this:
string range "abcdefgh" 5 3you will get "" and not an error.
See also:
Tcl syntax help - Category Command - Category String Processing
string range "abcde" 0 3returns "abcd" and
string range "abcdefgh" 3 5returns "def".If you do this:
string range "abcdefgh" 5 3you will get "" and not an error.