string.IndexOf(String value, StringComparison comparisonType) not available
tosandeepgarg opened this issue · comments
IndexOf function with StringComparison pararameter is not available.
Here is test case:
using System;
public static class Program
{
public static void Main(string[] args)
{
var s = "abcdefabcdef";
Console.WriteLine(s.IndexOf("ABC", StringComparison.OrdinalIgnoreCase));
}
}
Similarly EndsWith is not having overload with StringComparison.
StringComparison.OrdinalIgnoreCase isn't available as well, not just the IndexOf method overload.
Just to have it mentioned, or should I create a separate issue for this one?