// Remove all newlines from the 'example' string variable string cleaned = example.Replace(" ", "").Replace(" ", "");
String.Replace(' ', ' ')