Changeset 7987
- Timestamp:
- 06/12/12 08:50:43 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Data.Views/3.3/StringConvertibleMatrixView.cs
r7984 r7987 381 381 } 382 382 private string[,] SplitClipboardString(string clipboardText) { 383 clipboardText = clipboardText.Remove(clipboardText.Length - Environment.NewLine.Length); //remove last newline constant 383 if (clipboardText.EndsWith(Environment.NewLine)) 384 clipboardText = clipboardText.Remove(clipboardText.Length - Environment.NewLine.Length); //remove last newline constant 384 385 string[,] values = null; 385 386 string[] lines = clipboardText.Split(new string[] { Environment.NewLine }, StringSplitOptions.None);
Note: See TracChangeset
for help on using the changeset viewer.