.lengthReturns the number of characters.Syntaxtext.lengthDescriptionReturns the length of the string (same as .size).ExampleLoading editor…▶ Try it yourselfExpected output7When to use?Length check.Related commandsupcase / downcase / capitalizeupcase / downcase / capitalize →