Find the Length of a Text String
To find the length of a text string, that is, the number of characters it contains, you can use the following syntax with the Length function:
- Length(<text value>)
- the length of <text value>
The text value may be a text attribute, text constant or any expression that returns a text constant.
For example, to check that an identification number is the correct length (10 characters in this case), you would write the following rule:
the identification number is valid if
the length of the identification number = 10