Skip to content

Commit

Permalink
fix: fix the description of the convertWithCustomDelimiter (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
imevanc authored Oct 20, 2024
1 parent 4b92e03 commit 3fcd4c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
- 🐬 **SnakeCase** - Format string in `snake_case`.
- 🦁 **PathCase** - Get your string into `/pathCase`.
- 🦧 **CobolCase** - Format string in `COBOL-CASE`.
- 🐫 **LeetSpeak** - Make everything `1337 5p34k`
- 🦄 **ConvertWithCustomDelimiter** - Convert any string to `custom-delimiter where - is the new delimiter`
- 🐫 **LeetSpeak** - Make everything `1337 5p34k`.
- 🦄 **ConvertWithCustomDelimiter** - Convert any string to `custom-delimiter where - is the new delimiter`.

---

Expand Down Expand Up @@ -105,7 +105,7 @@ console.log(toCobolCase('hello world')); // 'HELLO-WORLD'
console.log(toLeetSpeak('hello world')); // 'h3110 w021d'

// Convert With Custom Delimiter
convertWithCustomDelimiter("hello-world", "-", "."); // 'hello.world'
console.log(convertWithCustomDelimiter("hello-world", "-", ".")); // 'hello.world'
```

---
Expand Down

0 comments on commit 3fcd4c2

Please sign in to comment.