Consultor Eletrônico



Kbase 13992: How to print first name and last name without trailing blank
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
How to print first name and last name without trailing blank


This code example will strip out the trailing blanks of the first name
and last name fields, and print them separated by one blank character.
The maximum length of the resulting string will be limited to 35
characters.

FOR EACH file:
DISPLAY TRIM(first_name) + " " + TRIM(last_name) FORMAT "x(35)".
END.

For more details on the trim function, consult the Language Reference
Manual.

Progress Software Technical Support Note # 13992