Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はこれを試した1として答えを得ています:
set a "Amazon" set b [split $a] set c [llength $b] puts "$c"
そのために使用できると思いますstring length:
string length
set a "Amazon" set lengthOfA [string length $a] puts "Length is: $lengthOfA"
set a "amazon" set a [split "$a" ""] puts [llength $a]