CDE
This commit is contained in:
parent
518da4a923
commit
764da6cbbb
6144 changed files with 83610 additions and 11 deletions
3
Task/Empty-string/Tcl/empty-string-2.tcl
Normal file
3
Task/Empty-string/Tcl/empty-string-2.tcl
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
if {[string equal $s ""]} {puts "is empty"}
|
||||
if {[string length $s] == 0} {puts "is empty"}
|
||||
if {[string compare $s ""] != 0} {puts "is non-empty"}
|
||||
Loading…
Add table
Add a link
Reference in a new issue