Comparing Strings
> (string= "happy" "happy")
T
> (string= "hapPy" "happy")
NIL
> (string/= "hapPy" "happy")
3
> (string-equal "hapPy" "happy")
T
> (string-lessp "John" "johnny")
4
> (string< "John" "johnny")
0
> (equal "hapPy" "happy")
NIL
> (equalp "hapPy" "happy")
T
Previous slide
Next slide
Back to first slide
View graphic version