how to substring in a word from string in c# code example
Example 1: substring c# after character
var result = str.Substring(str.LastIndexOf('-') + 1);
Example 2: c# get certain character from string
string myString = "string";
// outputs r
print(mystring[2]);