Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexOf result #47077

Closed
zhoujit opened this issue Jan 16, 2021 · 3 comments
Closed

IndexOf result #47077

zhoujit opened this issue Jan 16, 2021 · 3 comments
Labels
area-System.Globalization untriaged New issue has not been triaged by the area owner

Comments

@zhoujit
Copy link

zhoujit commented Jan 16, 2021

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

Above statement returns -1.

OS: Ubuntu/WSL2
Version: .NET 5

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Jan 16, 2021
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@huoyaoyuan
Copy link
Member

Duplicate of #43736

@jeffschwMSFT
Copy link
Member

Closing per #43736

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Globalization untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

4 participants