Skip to content

Instantly share code, notes, and snippets.

@mayhem
Created June 21, 2019 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mayhem/434d2607e55c0b667c8c21c91d3b3d9e to your computer and use it in GitHub Desktop.
Save mayhem/434d2607e55c0b667c8c21c91d3b3d9e to your computer and use it in GitHub Desktop.
messybrainz=> select musicbrainz.musicbrainz_collate('porta~') > musicbrainz.musicbrainz_collate('portable');
?column?
----------
f
(1 row)
========================
s1 = "porta~"
s2 = "portable"
print("iuc: ", (UnicodeString(s1) > UnicodeString(s2)));
print(" py: ", (s1 > s2));
iuc: True
py: True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment