Created
February 16, 2016 19:34
-
-
Save fitsum/4bdb76532238169c8c83 to your computer and use it in GitHub Desktop.
add space between camel case loci
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String.prototype.splitCamel = function(){ | |
return this.replace(/([a-z](?=[A-Z]))/g, '$1 ') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment