natcmp 1.3.2
Compare strings in a human-natural way.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
Natcmp
Natcmp is a library for comparing strings and paths in a way more familiar to humans.
For a list of strings like [a, 100, 10, b, 2], sorting ASCIIbetically would produce the unexpected ordering of [10, 100, 2, a, b]. A human would expect an ordering more like [2, 10, 100, a, b]. This library provides the means to sort and compare strings in such a fashion.
- Registered by Cameron Ross
- 1.3.2 released 8 years ago
- Herringway/natcmp
- github.com/Herringway/natcmp
- BSL-1.0
- Copyright © 2014, Cameron
- Authors:
- Dependencies:
- none
- Versions:
-
1.3.3 2022-Oct-25 1.3.2 2016-Nov-05 1.3.1 2016-Feb-19 1.3.0 2016-Jan-23 1.2.3 2015-Aug-26 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
2215 downloads total
-
- Score:
- 1.0
- Short URL:
- natcmp.dub.pm