UnityEngine.TextEditor.ReplaceNewlinesWithSpaces C# (CSharp) 메소드

ReplaceNewlinesWithSpaces() 개인적인 정적인 메소드

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