Skip to content

Contains.Substring with custom StringComparison #2195

Closed
@jnm2

Description

@jnm2

Right now I'm not seeing an API that allows this. I would like to be able to write Contains.Substring("str").Using(StringComparison.OrdinalIgnoreCase).

This would correspond to the BCL's string.IndexOf(string, StringComparison) being compared to -1.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions