MichaelB.
7/23/2018 - 7:56 PM

Find the length of a string (STRLEN)

A simple function that finds the length of a string. Define a variable i to hold the stringlength number.

DATA len TYPE i.

len = strlen( field ).
WRITE: 'The length of the field is', len.
ULINE.