Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

string comparison

Hi

Do the standard comparison operators only work for numeric values?

I'm finding that

"a" < "b"

"a" > "b"

"a" == "b"

all return false.

"a" <= "b"

"a" >= "b"

both return true.

How do I properly compare "a" and "b"?

Thanks

Nick

Edited by: Nick Stannage on Sep 16, 2008 9:21 AM

Not what you were looking for? View more on this topic or Ask a question