UnityEngine.TextEditor.ReplaceNewlinesWithSpaces C# (CSharp) Method

ReplaceNewlinesWithSpaces() private static method

private static ReplaceNewlinesWithSpaces ( string value ) : string
value string
return string
        private static string ReplaceNewlinesWithSpaces(string value)
        {
            value = value.Replace("\r\n", " ");
            value = value.Replace('\n', ' ');
            value = value.Replace('\r', ' ');
            return value;
        }