length
To return the count of all characters in a string or all items in an array
This function returns the number of characters (with spaces) of a given text or the number of items in a given array.
You can use this function for calculations with the size of an array, compare strings, or check if fields contain a certain number of characters.
Together with the functions
substr()
or index()
, this function could also help you to return the number of characters from a specific starting point. length(string)
length([any])
number
1
length("Ninox is great!")
Result: 15
1
length(["A", "B", "", "D", null])
Result: 5
Last modified 1yr ago