Hello all:
I want to compare two string, but when I run my code, it has
some errors, would anyone help me.
my code as follow;
set x "this is string number 1 "
set y "this is string number 2 "
puts "comparison returns [string compare $x $y]"
puts "equality test returns [string equal $x $y]"
rgds
stewang
I want to compare two string, but when I run my code, it has
some errors, would anyone help me.
my code as follow;
set x "this is string number 1 "
set y "this is string number 2 "
puts "comparison returns [string compare $x $y]"
puts "equality test returns [string equal $x $y]"
rgds
stewang