Added underscored method with tests and documentation

This commit is contained in:
Andy Deese
2017-05-20 12:15:20 -04:00
parent d04e679b07
commit a4d2c2aa41
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).