You can use key word STRLEN to find the length of strings or character type data objects. The result of this keyword is an integer.
<vLength> = STRLEN( <vCharacterSequence> ).
where, <vCharacterSequence> is the string or character type variable whose length needs to be determined and vLength is the integer variable to holds the calculated length.
For flexible length character data objects which are of data type STRING, the keyword returns . . . → Read More >>