javascript check string lenght

JavaScript
let SomeString = "Example";


console.log(SomeString.length)

Source

Also in JavaScript: