Skip to content
Navigation menu
Search
Powered by Algolia
Search
Log in
Create account
DEV Community
Close
One line of code (JS) Series' Articles
Back to Martin Krause's Series
1 line of code: How to PascalCase a string
Martin Krause
Martin Krause
Martin Krause
Follow
Dec 13 '21
1 line of code: How to PascalCase a string
#
javascript
#
webdev
#
productivity
#
codequality
5
reactions
Comments
Add Comment
1 min read
1 line of code: How to create an URL Slug from a string
Martin Krause
Martin Krause
Martin Krause
Follow
Dec 14 '21
1 line of code: How to create an URL Slug from a string
#
javascript
#
webdev
#
productivity
#
codequality
7
reactions
Comments
4
comments
1 min read
1 line of code: How to convert html special chars
Martin Krause
Martin Krause
Martin Krause
Follow
Dec 16 '21
1 line of code: How to convert html special chars
#
javascript
#
webdev
#
productivity
#
codequality
5
reactions
Comments
Add Comment
1 min read
1 line of code: How to lower case a string
Martin Krause
Martin Krause
Martin Krause
Follow
Dec 22 '21
1 line of code: How to lower case a string
#
javascript
#
webdev
#
productivity
#
codequality
6
reactions
Comments
1
comment
1 min read
1 line of code: How to convert tabs to spaces
Martin Krause
Martin Krause
Martin Krause
Follow
Jan 5 '22
1 line of code: How to convert tabs to spaces
#
javascript
#
webdev
#
productivity
#
codequality
19
reactions
Comments
9
comments
1 min read
1 line of code: How to convert spaces to tabs
Martin Krause
Martin Krause
Martin Krause
Follow
Jan 11 '22
1 line of code: How to convert spaces to tabs
#
javascript
#
webdev
#
productivity
#
codequality
18
reactions
Comments
3
comments
1 min read
1 line of code: How to convert \newlines to <breaks />
Martin Krause
Martin Krause
Martin Krause
Follow
Jan 13 '22
1 line of code: How to convert \newlines to <breaks />
#
javascript
#
webdev
#
product
#
codequality
7
reactions
Comments
5
comments
1 min read
1 line of code: How to replace multiple spaces with one space
Martin Krause
Martin Krause
Martin Krause
Follow
Jan 19 '22
1 line of code: How to replace multiple spaces with one space
#
javascript
#
webdev
#
productivity
#
codequality
18
reactions
Comments
1
comment
1 min read
1 line of code: How to reverse all words of a string
Martin Krause
Martin Krause
Martin Krause
Follow
Jan 26 '22
1 line of code: How to reverse all words of a string
#
javascript
#
webdev
#
productivity
#
codequality
28
reactions
Comments
6
comments
1 min read
1 line of code: How to reverse a string
Martin Krause
Martin Krause
Martin Krause
Follow
Jan 28 '22
1 line of code: How to reverse a string
#
javascript
#
webdev
#
productivity
#
codequality
31
reactions
Comments
10
comments
1 min read
1 line of code: How to truncate a string at word boundaries
Martin Krause
Martin Krause
Martin Krause
Follow
Feb 16 '22
1 line of code: How to truncate a string at word boundaries
#
javascript
#
webdev
#
productivity
#
codequality
10
reactions
Comments
3
comments
1 min read
« First
‹ Prev
1
2
We're a place where coders share, stay up-to-date and grow their careers.
Log in
Create account