Changeset 25531 in project


Ignore:
Timestamp:
11/21/11 16:47:20 (9 years ago)
Author:
Alan Post
Message:

string-compare3 calculates distance, fix docs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/man/4/Unit data-structures

    r20342 r25531  
    345345
    346346Perform a three-way comparison between the {{STRING1}} and {{STRING2}},
    347 returning either {{-1}} if {{STRING1}} is lexicographically less
    348 than {{STRING2}}, {{0}} if it is equal, or {{1}} if it s greater.
     347returning one of {{<0}} if {{STRING1}} is lexicographically less
     348than {{STRING2}}, {{=0}} if it is equal, or {{>0}} if it s greater.
    349349{{string-compare3-ci}} performs a case-insensitive comparison.
    350350
Note: See TracChangeset for help on using the changeset viewer.