Please enable JavaScript to view this site.

ESL Documentation

ESLSTR Subroutine

Add characters to the front or rear of a string.

call PadString(STRING_SV, PAD_CHAR_SV, FRONT_OR_REAR_IV, PAD_SIZE_IV)

STRING_SV

The identifier for the string you want padded.

PAD_CHAR_SV

The character you want to use to pad the string.

FRONT_OR_REAR_IV

Either 0 (pad the front of the string) or 1 (pad the end of the string).

PAD_SIZE_IV

An integer indicating the resulting size of the padded string.

Description

Use this subroutine to add a number of pad characters (PAD_CHAR_SV) to either the front (0) or rear (1) of STRING_SV, until it reaches the number specified in PAD_SIZE_IV.