next up previous contents
Next: Decode String into Up: String Scanning and Previous: String Scanning and

Return Used Length of a Text String

This Subprogram returns the used length (in characters) of a text string, ignoring trailing spaces or tabs.

Short Name Calling Sequence

LENGTH = UIUSLE(TEXT)

Long Name Calling Sequence

LENGTH = UI_USED_LENGTH(...)

Input Arguments

TEXT (Character) Text String

Output Arguments

None

Function Value

LENGTH (Integer) Length of String

Note:

  1. LENGTH will be set to Zero if TEXT is null (all spaces or tabs).


Liz Buckle
Fri Jan 13 17:28:23 CST 1995