sysLib.fieldInputLength
The system function sysLib.fieldInputLength returns the number of characters that the user typed in the input field when the text form was last presented. That number does not include leading or trailing blanks or nulls.
If the field is at its originally defined state, the function returns a length of 0. For example, if the field contains the value property and it has not been modified during execution in any way, then the length is calculated as 0. The set form initial statement resets the field to its originally defined state. If the field is not at its originally defined state, then the length is calculated based on what was displayed or entered on the last converse statement.