Example of IndexOfAny?

Seeing if anyone has some examples of .IndexOfAny ? I’ve tried to set it up; and I am missing something. Creation of the a Char array could be the issue?

Hi,

Do you mean String.IndexOfAny method?
How about the following?

img20210112-4

Regards,

1 Like

This link may help you, @Jvonarx
C# | IndexOfAny() Method - GeeksforGeeks(char%5B%5D,first%20occurrence%20of%20that%20character.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.