Question whether two variables have the same string representation -- when converted to type_string

string:is_equal?($string1, $string2) : BOOL

string:is_equal?('hi','bye')
#=> FALSE

string:is_equal?('foo','foo')
#=> TRUE

string:is_equal?('Foo','Foo')
#=> TRUE

string:is_equal?('FòôBàř','fòôbàř')
#=> FALSE

string:is_equal?(1,'1')
#=> TRUE

string:is_equal?(10.5,'10.5')
#=> TRUE

Copyright ©2013-2022 SunSed®. All rights reserved.