Using string compare instead of string-length.