mirror of
https://github.com/shekhargulati/strman-java.git
synced 2026-10-28 03:33:48 +00:00
Added underscored method with tests and documentation
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user