Which String methods you wish JavaScript API had?

JoelBonetR 🥇 - May 2 '22 - - Dev Community

Cover image credits: tutsmake.com
Those sort of functions/methods you usually copy-paste from a project to another in a utils.js file 😂

i.e. we have toLowerCase, toUpperCase but not capitalize or toCamelCase or toPascalCase

undefined is not a function meme

Share your string utils!

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .