Home / Javascript Tips Generated By ChatGPT / Finding the Length of a String in Javascript Use the length property to find the length of a string. Source Code let greeting = 'Hello, world!'; console.log(greeting.length);