ty812
ty812

Reputation: 3323

String comparison oddities in 4GL

OK, so I've learned the hard way that string comparison works ... differently in Progress 4GL. For example, "x " and "x" seem to be the same thing, and "ß" is equal to "ss" - but "ö" is not equal to "oe".

Is there any comprehensive list of what substrings are considered equal in ABL? I've checked the documentation, but wasn't able to find any information on this behavior...

Upvotes: 1

Views: 2383

Answers (1)

Tom Bascom
Tom Bascom

Reputation: 14020

OpenEdge Development: Internationalizing Applications. would probably be a good place to look. The "understanding code pages" chapter sounds like a likely jumping off point. I also find the COMPARE() function's documentation to be insightful with regards to how these things operate.

Upvotes: 3

Related Questions