Node: String Comparison, Next: , Previous: Strings, Up: Strings

String Comparison

stringEqual s1 s2 Function

stringEqual compares Lpp String s1 to Lpp String s2 and returns t if they are the same length and all characters of s1 are the same characters of s2. Otherwise nil is returned. For example:

     stringEqual(L("foo"), L("Foo")) => nil
     stringEqual(L("foo"), L("foo")) => t

stringEQUAL s1 s2 Function

stringEQUAL is the same as stringEqual except that character case is ignored. For example

     stringEQUAL(L("foo"), L("Foo")) => t