How to: |
The ARGLEN function measures the length of a character string within a field, excluding trailing spaces. The field format in a Master File specifies the length of a field, including trailing spaces.
In Dialogue Manager, you can measure the length of a supplied character string using the .LENGTH suffix.
ARGLEN(length, source_string, output)
where:
Integer
Is the length of the field containing the character string, or a field that contains the length.
Alphanumeric
Is the name of the field containing the character string.
Integer
ARGLEN determines the length of the character string in LAST_NAME and stores the result in a column with the format I3:
ARGLEN(15, LAST_NAME, 'I3')
For SMITH, the result is 5.
For BLACKWOOD, the result is 9.
iWay Software |