JavaScript Tutorial

JavaScript Strings

Source: Programming with Mosh

String Methods

JAVASCRIPT
const s = "Hello Sturdee";
console.log(s.length, s.toUpperCase(), s.includes("Sturdee"));
Try it Yourself