RJUSTIFY( ) function

Returns a right-justified string the same length as a specified string, with any trailing spaces moved to the left of the string.

Syntax

RJUSTIFY(string)

Parameters

string

Character. The value to right-justify.

Output

Character.

Remarks

Use this function to right-justify a field.

Example

Example Return value

RJUSTIFY("ABC   ")

“   ABC”



(C) 2013 ACL Services Ltd. All Rights Reserved. | Send feedback