Answers

Question and Answer:

  Home  TCL

⟩ How do you find the length of a string without using string length command in TCL?

set str "lenghtofthisstring"

set len 0

set list1 [ split $str "" ]

foreach value $list1 {

incr len

}

puts $len

 171 views

More Questions for you: