RosettaCodeData/Task/String-comparison/Tcl/string-comparison-1.tcl

7 lines
106 B
Tcl
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
if {$a eq $b} {
puts "the strings are equal"
}
if {$a ne $b} {
puts "the strings are not equal"
}