How do you find the length of a string without using string
length command in TCL??
Answer Posted / sumanth
set str "lenghtofthisstring"
set len 0
set list1 [ split $str "" ]
foreach value $list1 {
incr len
}
puts $len
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers