Details
-
Type:
Task
-
Status: Closed
-
Priority:
Could
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Core 2.3.0
-
Component/s: None
-
Labels:None
Description
Instead of:
String s = "someString" s.substring(1, s.length())
it is enough to call
Instead call s.substring(1)
as it will take a substring starting with at position 1 and will take the whole remaining part of the original string