stringLength
Modified on Wed, 16 Aug 2023
Description
Calculate the length of a string
Syntax
stringLength(text)
Parameters
Input Parameter | Type | Description |
---|---|---|
text | string | The input string to calculate the length of |
Return value
Type |
---|
number |
Sample
Example | Result | Description |
---|---|---|
stringLength("abcd") | 4 | The length of the input string |
stringLength("") | 0 | The length of empty string |
stringLength(123) | 0 | The length of non string input |
To view all the String functions, click here.
See Also
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article