mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 14:32:35 +01:00
Minor refact
This commit is contained in:
parent
ed33b32579
commit
00b14eb462
@ -87,7 +87,7 @@ namespace Nikse.SubtitleEdit.Core
|
||||
|
||||
public static string[] SplitToLines(this string source)
|
||||
{
|
||||
return source.Replace("\r\n", "\n").Replace('\r', '\n').Replace(Convert.ToChar(8232), '\n').Split('\n');
|
||||
return source.Replace("\r\n", "\n").Replace('\r', '\n').Replace('\u2028', '\n').Split('\n');
|
||||
}
|
||||
|
||||
// http://www.codeproject.com/Articles/43726/Optimizing-string-operations-in-C
|
||||
|
Loading…
Reference in New Issue
Block a user