Open
Description
Based on the current documentation
As there is no IgnoreSymbols equivalent in NSStringCompareOptions all CompareOptions combinations that include IgnoreSymbols throw PlatformNotSupportedException.
We should remove the exception throw for IndexOf
and other APIs using IgnoreSymbols
compare option and implement a workaround to enable this API. Due to no NSStringCompareOptions that would mimic the same behavior as .NET IgnoreSymbols
we will likely need to:
- Preprocess the strings by removing the symbols (comma, period, colon, etc.).
- Calculate the range on the preprocessed strings.
- Map the range from preprocessed strings back to the input string to get correct index and matchLength.
Add more test cases: