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)
    int
    compareIgnoreCase
    (
    U = size_t
    )
    (
    wstring a
    ,
    wstring b
    ,
    U end = U.max
    )
  3. int compareIgnoreCase(dstring a, dstring b, U end)

Parameters

a wstring

the first array

b wstring

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