LJUST: Left-justifying a Character String

How to:

The LJUST function left-justifies a character string.


Top of page

x
Syntax: How to Left-justify a Character String
LJUST(length, source_string, output_format)

where:

length

Integer

Is the number of characters in the source_string and output_format.

string

Alphanumeric

Is the character string to be justified.

output_format

Alphanumeric



Example: Left-justifying a Column

LJUST left-justifies FNAME and stores the result in a column with the format A25:

LJUST(15, FNAME, 'A25')

iWay Software