w2utils.i18nCompare

Compares two strings and returns 0, 1, or -1.
i18nCompare(a, b);
a string, string to compare
b string, string to compare
Compare strings containing a mix of letters and numbers in the way a human being would in sort order. This is described as a "language-sensitive". Can be used For example returns

User Comments

comments powered by Disqus