Signature: length(text: string) -> int
Description: Returns the length of a string.
Parameters #
- text (string): The string to measure
Returns: int
Example #
let len = length("hello")
print(len) // Prints: 5
Returns the length of a string.