String comparisons
ArborX


Summary
Comparing two strings of text if they are equal or not equal or empty.

Another commonly needed requirement is to test whether a string is empty (contains no characters at all). You can do this by comparing it with a blank string represented by " ":

 ?=^string1,^string2 @Streams are equal 3
 ?+-^string1,^string2 (^string1=Strings were different):(boxit \^string1^) 5
 ?=^string," "}empty_string 7
 :empty_string 9

Document created on 08-Feb-2003 (revision 1)