Skip to content

Commit

Permalink
Update docs - cases.md - Seq[String] to Kebab-Case-String
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
kevin-lee committed Nov 8, 2023
1 parent 0b0bf74 commit a4b3029
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions docs/extras-string/cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -473,3 +473,36 @@ List("abc def ghi", "jkl mno pqr", "st u").mkSnakeLowerCaseString

List("ABC DEF GHI", "JKL MNO PQR", "ST U").mkSnakeLowerCaseString
```

### `Seq[String]` to `Kebab-Case-String`

```scala mdoc
List("Abc", "Def").mkKebabCaseString

List("AbcDef", "Ghi", "jkl", "MnoPqr").mkKebabCaseString

List("abcDef", "Ghi", "jkl", "MnoPqr").mkKebabCaseString

List("abc").mkKebabCaseString

List("ABC").mkKebabCaseString

List("Abc_Def_Ghi", "jkl_mno_Pqr").mkKebabCaseString

List("abc_def_ghi", "jkl_mno_pqr", "st_u").mkKebabCaseString

List("ABC_DEF_GHI", "JKL_MNO_PQR", "ST_U").mkKebabCaseString

List("Abc-Def-Ghi", "jkl-mno-Pqr").mkKebabCaseString

List("abc-def-ghi", "jkl-mno-pqr", "st-u").mkKebabCaseString

List("ABC-DEF-GHI", "JKL-MNO-PQR", "ST-U").mkKebabCaseString

List("Abc Def Ghi", "jkl mno Pqr").mkKebabCaseString

List("abc def ghi", "jkl mno pqr", "st u").mkKebabCaseString

List("ABC DEF GHI", "JKL MNO PQR", "ST U").mkKebabCaseString
```

0 comments on commit a4b3029

Please sign in to comment.