JS String Methods - Part 0
I realized I forgot toUpperCase() and toLowerCase(), so here's Part 0 of JavaScript String Methods!
Read moreI realized I forgot toUpperCase() and toLowerCase(), so here's Part 0 of JavaScript String Methods!
Read morematch() and matchAll(), a RegExp lover's dream (and also a cool playground)
Read moreendsWith() and startsWith(). Strings only, sorry not sorry RegEx.
Read moreindexOf() and lastIndexOf(). Add includes() to the mix and we can try to skirt RegExp, yay!
Read moresearch() and includes() for RegExp-related fun and joy, respectively. One of them doesn't accept RegExp as a parameter.
Read morecharAt(), charCodeAt(), fromCharCode() and at(). Spoiler alert: JavaScript has a Unicode problem.
Read moresplit(). Ok, so join() isn't a String method but they look so good together!
Read more