Skip to content
This repository was archived by the owner on Aug 24, 2022. It is now read-only.
This repository was archived by the owner on Aug 24, 2022. It is now read-only.

string.IndexOf(String value, StringComparison comparisonType) not available #1045

Description

@tosandeepgarg

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));
    }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions