Compares two string values while ignoring accent marks.
The first string.
The second string.
true if the values match when accent marks are ignored, otherwise false.
true
false
console.log(PUtilsString.compareWithoutAccentMarks('target', 'target')) // trueconsole.log(PUtilsString.compareWithoutAccentMarks('tárget', 'target')) // true Copy
console.log(PUtilsString.compareWithoutAccentMarks('target', 'target')) // trueconsole.log(PUtilsString.compareWithoutAccentMarks('tárget', 'target')) // true
Compares two string values while ignoring accent marks.