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

◆ equals() [5/5]

static bool xtd::ustring::equals ( const ustring a,
const ustring b,
bool  ignore_case 
)
staticnoexcept

Determines whether two specified xtd::ustring objects have the same value, ignoring or honoring their case.

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