Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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);
 
PREVIOUS NEXT
Tagged: #text #word
ADD COMMENT
Topic
Name
4+3 =