Update examples in readme
This commit is contained in:
parent
ce7b139d80
commit
e7b55ac809
@ -13,13 +13,15 @@ s := "AnyKind of_string"
|
|||||||
```
|
```
|
||||||
|
|
||||||
| Function | Result |
|
| Function | Result |
|
||||||
|-----------------------------------|----------------------|
|
|-------------------------------------------|----------------------|
|
||||||
| `ToSnake(s)` | `any_kind_of_string` |
|
| `ToSnake(s)` | `any_kind_of_string` |
|
||||||
|
| `ToSnakeWithIgnore(s, '.')` | `any_kind.of_string` |
|
||||||
| `ToScreamingSnake(s)` | `ANY_KIND_OF_STRING` |
|
| `ToScreamingSnake(s)` | `ANY_KIND_OF_STRING` |
|
||||||
| `ToKebab(s)` | `any-kind-of-string` |
|
| `ToKebab(s)` | `any-kind-of-string` |
|
||||||
| `ToScreamingKebab(s)` | `ANY-KIND-OF-STRING` |
|
| `ToScreamingKebab(s)` | `ANY-KIND-OF-STRING` |
|
||||||
| `ToDelimited(s, '.')` | `any.kind.of.string` |
|
| `ToDelimited(s, '.')` | `any.kind.of.string` |
|
||||||
| `ToScreamingDelimited(s, '.')` | `ANY.KIND.OF.STRING` |
|
| `ToScreamingDelimited(s, '.', '', true)` | `ANY.KIND.OF.STRING` |
|
||||||
|
| `ToScreamingDelimited(s, '.', ' ', true)` | `ANY.KIND OF.STRING` |
|
||||||
| `ToCamel(s)` | `AnyKindOfString` |
|
| `ToCamel(s)` | `AnyKindOfString` |
|
||||||
| `ToLowerCamel(s)` | `anyKindOfString` |
|
| `ToLowerCamel(s)` | `anyKindOfString` |
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user