C# EXTRACT STRING FROM STRING code example
Example 1: c# get certain character from string
string myString = "string";
// outputs r
print(mystring[2]);
Example 2: how to look for substring in string in c#
String phrase = "this is the ultimate string";
Console.WriteLine(phrase.Contains("this")); //returns True
Console.WriteLine(phrase.Contains("python")); //returns False