Weird content in the clipboard after copy from Excel
问题 I'm trying to get the content of the clipboard in my application to ensure excel compatibility, using : Clipboard clipboard = new Clipboard(Display.getDefault()); String contents = (String) clipboard.getContents(TextTransfer.getInstance()); The problem is, if I have on one column [1, 2, 3], and I select cells [1] and [3], then in the clipboard content I found 1\r\n2\r\n3\r\n instead of just 1 and 3. In other words the clipboard does not seem to handle disjointed cells. Does somebody have an