Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
//Strip newline characters from ReasonPhrase.
ex.Response.ReasonPhrase = msg.Replace("\\r", string.Empty).Replace("\\n", string.Empty).Replace(Environment.NewLine, string.Empty);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment