Added underscored method with tests and documentation

This commit is contained in:
Andy Deese
2017-05-20 12:01:13 -04:00
parent 04b9f8a7b4
commit 6bbcb53138
3 changed files with 53 additions and 1 deletions
+10
View File
@@ -631,6 +631,16 @@ isBlank("test")
// result => false)
```
## underscored
underscored returns a string that represents the passed in string in all lowercase and underscores
between words.
```java
underscored("MozTransform")
// result => "moz_transform")
```
## Inspiration
This library is inspired by [dleitee/strman](https://github.com/dleitee/strman).