Name

natural-compare

Usage

builtin-function

Syntax

(natural-compare x y &key ignore-white-space compact-whitespace punctuation-is-whitespace culture)

Description

Compares the strings representations of objects. Defaults are: false, true, true, InvariantCulture.

user > (compare "abc11" "abc2")
it: -1
user > (natural-compare "abc11" "abc2")
it: 1