xtd 0.2.0
Loading...
Searching...
No Matches

◆ equals() [3/5]

bool xtd::ustring::equals ( const ustring value,
bool  ignore_case 
) const
noexcept

Determines whether this instance and another specified String object have the same value, ignoring or honoring their case.

Parameters
valueThe string to compare to this instance.
ignore_casetrue to ignore case when comparing this instance and value; otherwise, false
Returns
true if the value of the value parameter is the same as the value of this instance; otherwise, false.
Remarks
This method performs an ordinal (case-sensitive and culture-insensitive) comparison.