Answers for "c# get first occurrence in string"

C#
5

letter at index of string c#

string s = "hello";
char c = s[1];
// now c == 'e'
Posted by: Guest on July-01-2020
-1

strinng.indexOf c#

int index = String.IndexOf(char x);
int index = String.IndexOf(string x);
Posted by: Guest on November-24-2020

Code answers related to "c# get first occurrence in string"

C# Answers by Framework

Browse Popular Code Answers by Language