Timeline for Replace fifth space with new line
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 10, 2014 at 16:35 | comment | added | ANeves |
@JamesSnell I understand your intent. I think your contributions would be better if you were more constructive, I'll leave you the fun puzzle of working out why though .
|
|
Nov 10, 2014 at 14:52 | comment | added | James Snell | @ANeves - and your point is what? The OP code has a bug that wasn't picked up in the review but that doesn't make it ok for alternatives which are improvements to contain the same bug. I've commented for Dmitry to review and improve their answer - if they want to. | |
Nov 10, 2014 at 12:27 | comment | added | ANeves |
@JamesSnell both options use \n the same as the code from OP. If there is a bug, it is in the OP's code and not in the improvement of the code that Dmitry did.
|
|
Nov 8, 2014 at 1:43 | comment | added | James Snell |
I'm not kidding you, you have a bug in both options. (Hint: Environment.NewLine is not \n )
|
|
Nov 7, 2014 at 19:40 | comment | added | Dmitry | @JamesSnell are you kidding me? Both options have completely equivalent functionality. I've tested them. Are you sure you understand what the OP wants? | |
Nov 7, 2014 at 18:26 | history | edited | Dmitry | CC BY-SA 3.0 |
deleted 69 characters in body
|
Nov 7, 2014 at 16:54 | comment | added | James Snell | The second option wouldn't do what the OP wants. I'll leave you the fun puzzle of working out why though. | |
Nov 7, 2014 at 16:36 | comment | added | Dmitry | @ANeves I've updated the answer by introducing of the second option. Please revise. | |
Nov 7, 2014 at 16:34 | history | edited | Dmitry | CC BY-SA 3.0 |
Added option 2
|
Nov 7, 2014 at 15:23 | comment | added | Heslacher | ^^^ I don't agree. This code is clear and readable. | |
Nov 7, 2014 at 13:58 | comment | added | ANeves | -1: this code is not very readable, I find it complex. | |
Nov 7, 2014 at 12:46 | history | answered | Dmitry | CC BY-SA 3.0 |