Skip to content

Commit

Permalink
Merge pull request #500 from kevin-lee/update-docs
Browse files Browse the repository at this point in the history
Update docs - cases.md - `Seq[String]` to `KEBAB-UPPER-CASE-STRING`
  • Loading branch information
kevin-lee authored Nov 10, 2023
2 parents debb4d7 + fa571e2 commit 2662446
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docs/extras-string/cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -506,3 +506,34 @@ List("abc def ghi", "jkl mno pqr", "st u").mkKebabCaseString
List("ABC DEF GHI", "JKL MNO PQR", "ST U").mkKebabCaseString
```

### `Seq[String]` to `KEBAB-UPPER-CASE-STRING`
```scala mdoc
List("Abc", "Def").mkKebabUpperCaseString

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

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

List("abc").mkKebabUpperCaseString

List("ABC").mkKebabUpperCaseString

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

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

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

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

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

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

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

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

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

0 comments on commit 2662446

Please sign in to comment.