Guest_imported
New member
- Jan 1, 1970
- 0
Please tell me how to split the following string:
"1234.56"
I want to use the decimal as the delimiter and place each digit into its own variable, for example:
a 1
b 2
c 3
d 4
e 5
f 6
I can do this fairly easily using pointer in c/c++. But just having some hard time with tcl.
Thanks,
"1234.56"
I want to use the decimal as the delimiter and place each digit into its own variable, for example:
a 1
b 2
c 3
d 4
e 5
f 6
I can do this fairly easily using pointer in c/c++. But just having some hard time with tcl.
Thanks,