Answers for "c# substring after"

C#
0

substring c# after character

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

get text after word C#

string myString = "hi there IP:127.0.0.1"
string toBeSearched = "IP:";
string ipaddr = myString.Substring(myString.IndexOf(toBeSearched) + toBeSearched.Length);
Posted by: Guest on September-14-2020

Code answers related to "c# substring after"

C# Answers by Framework

Browse Popular Code Answers by Language