Skip to content

IndexOf result #47077

Closed
Closed

Description

@zhoujit

int idx3 = "a\r\nb".IndexOf("\n");

Above statement returns -1.

OS: Ubuntu/WSL2
Version: .NET 5

Activity

  1. ghost added
    untriaged
    on Jan 16, 2021
  2. huoyaoyuan commented on Jan 16, 2021

    @huoyaoyuan
    Member

    Duplicate of #43736

  3. jeffschwMSFT commented on Jan 16, 2021

    @jeffschwMSFT
    Member

    Closing per #43736

  4. ghost locked as resolved and limited conversation to collaborators on Feb 15, 2021
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

    area-System.Globalizationuntriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions