Skip to main content

Counting String Length

Used Blocks​

If you want to count the number of letters in a string, you can use the lenght of block to do so.


The length of has to be used in conjunction with the in list get # block


Combined, you receive the amount of letters used in the referenced block.

Counting String Length​

First, you create a text field which you want to check and one of type number to store the length value.


In the scripted answer area you can now create the following script:


It will return the number of letters within that field.

Further Usage​

You can now use this Number field for other scripts, like displaying another field via exist script when the text field length reaches a certain amount.