2012-03-24 7 views

Antwort

2
// first find the index of your starting point 
int start = body.IndexOf("<img"); 
// then find the index of your ending point 
int end = body.IndexOf("\"", start); 
// then retrieve that portion of the string 
string goods = body.Substring(start, end - start); 
1
string body = body.Substring(0, body.IndexOf("<img")); 
Verwandte Themen