Reply To: tcl command

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf tcl command Reply To: tcl command

#59522

Lots of ways to do this. Here’s one idea.

Code:

hcitcl>set inVal LAB123
hcitcl>set outVal1 [string range $inVal 0 2]
hcitcl>echo $outVal1
LAB
hcitcl>set outVal2 [string range $inVal 3 5]
hcitcl>echo $outVal2
123
hcitcl>

-- Max Drown (Infor)