Copyright ® (1999-2008) EDMGROUP Pty Ltd - EZY Prolog Reference
[This is preliminary specification and subject to change.]
Prolog predicates (more...)
upper_lower( STRING UPPER_CASE, STRING LOW_CASE)
Convert between upper and lower case characters
The upper_lower predicate performs conversions between upper and lower case for either two strings or two characters.
(i, o) - Binds LowerCase to the lower-case equivalent of UpperCase.
(o, i) - Binds UpperCase to the upper-case equivalent of LowerCase.
(i, i) - This flow version is different from the other two. It succeeds if the two strings would be equal if they both were either all upper case or all lower-case. In other words, upper_lower (i, i) provides a case-insensitive string comparison.
Copyright © 1997-2013 EDMGROUP (Australia)