compareIgnoreCase

Compares to strings, ignoring case differences. Returns 0 if the content matches, less than zero if a is "less" than b, or greater than zero where a is "bigger".

  1. int compareIgnoreCase(string a, string b, U end)
  2. int compareIgnoreCase(wstring a, wstring b, U end)
  3. int compareIgnoreCase(dstring a, dstring b, U end)
    int
    compareIgnoreCase
    (
    U = size_t
    )
    (
    dstring a
    ,
    dstring b
    ,
    U end = U.max
    )

Parameters

a dstring

the first array

b dstring

the second array

end U

the index where the comparision will end

Return Value

Type: int

Returns 0 if the content matches, less than zero if a is "less" than b, or greater than zero where a is "bigger".

See Also

mambo.collection.array.compare

Meta