You are here: Functions > RJUSTIFY()

RJUSTIFY()

RJUSTIFY() returns a right-justified string the same length as a specified string, with any trailing blanks moved to the front of the string.

Use RJUSTIFY() to right-justify a field.

Function Format

RJUSTIFY(C)

Examples

RJUSTIFY("ABC ") = " ABC"