Have you looked at string.Replace method ?
e.g.
Just call it multiple times for each string you want removed.Code:string x = "AT52156123156\r\nNL648312315"; string result = x.Replace("AT", string.Empty); result = result.Replace("NL", string.Empty);
Darwen.




Reply With Quote