字符string表示与其他语言不同,在Tcl中,当单个单词不需要双引号。 ... match "*@*.com" $s1 ] puts "Matching pattern tcl in s1" puts [string match {tcl} $s1].
確定! 回上一頁