blank Method

This method has been deprecated and should not be used in Profile versions v6.4 and above. Use the String.justify() method instead.

Class: String

Description

This method pads a string with blanks. This method replaces the $$LJ^%ZTEXT() and $$RJ^%ZTEXT() functions.

Syntax

String.blank(Number fieldLength,Boolean rightJustify)

Parameters

fieldLength

The number of blanks to insert in a string.

rightJustify

An option that indicates whether the string should be right-justified in the field.

Returns

A string.

When Became Available

Profile v7.0

Example

type String xyz = "Be free, fly far away"

if xyz.blank(40,1)