Timeline for Java String substring() and StringBuilder delete() methods
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 14, 2018 at 5:47 | comment | added | ArBR | It's is a matter of convention, convention is matter of convenience but convenience is not ever as clear as it should be. Lets notice that: Length = StopIndex - StartIndex, where lenght determines the number of characters to be deleted [6-4 => 2], that's the reason behind that convention. | |
Sep 14, 2018 at 4:33 | comment | added | Robert Harvey | But you haven't explained why. | |
Sep 14, 2018 at 3:45 | history | answered | ArBR | CC BY-SA 4.0 |