Answers for "get text after word C#"

C#
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

C# Answers by Framework

Browse Popular Code Answers by Language