natcmp 1.3.2

Compare strings in a human-natural way.


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Natcmp

Build Status Coverage Status 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.

Documentation

Authors:
  • Cameron "Herringway" Ross
Dependencies:
none
Versions:
1.3.2 2016-Nov-05
1.3.1 2016-Feb-19
1.3.0 2016-Jan-23
1.2.3 2015-Aug-26
1.2.2 2014-Oct-11
Show all 8 versions
Download Stats:
  • 0 downloads today

  • 6 downloads this week

  • 9 downloads this month

  • 1372 downloads total

Score:
0.8
Short URL:
natcmp.dub.pm