Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
1.6.4
-
None
-
None
Description
It would be cool if Groovy has ability to split String by Capital Case.
Example:
def fullName = "JackSparrow"; def names = fullName.splitByCapitalCase(); println names[0] + " " + names[1]; //print "Jack Sparrow"