Answers for "c# get substring from end of string"

C#
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 "c# get substring from end of string"

C# Answers by Framework

Browse Popular Code Answers by Language