Answers for "substring c# after character"

C#
0

substring c# after character

var result = str.Substring(str.LastIndexOf('-') + 1);
Posted by: Guest on January-29-2021
2

c# get certain character from string

string myString = "string";
// outputs r
print(mystring[2]);
Posted by: Guest on December-05-2020
3

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
Posted by: Guest on April-29-2020

Code answers related to "substring c# after character"

C# Answers by Framework

Browse Popular Code Answers by Language