Aspose::Cells::GlobalizationSettings::Compare method

GlobalizationSettings::Compare(const U16String&, const U16String&, bool) method

Compares two string values according to certain collation rules.

virtual int32_t Aspose::Cells::GlobalizationSettings::Compare(const U16String &v1, const U16String &v2, bool ignoreCase)
ParameterTypeDescription
v1const U16String&the first string
v2const U16String&the second string
ignoreCaseboolwhether ignore case when comparing values

ReturnValue

Integer that indicates the lexical relationship between the two comparands

See Also

GlobalizationSettings::Compare(const char16_t*, const char16_t*, bool) method

Compares two string values according to certain collation rules.

virtual int32_t Aspose::Cells::GlobalizationSettings::Compare(const char16_t *v1, const char16_t *v2, bool ignoreCase)
ParameterTypeDescription
v1const char16_t*the first string
v2const char16_t*the second string
ignoreCaseboolwhether ignore case when comparing values

ReturnValue

Integer that indicates the lexical relationship between the two comparands

See Also