ReportPro User's Guide

Unknown

Purpose

To pad character, date and numeric values with spaces

Syntax

PadC( <xValue> , <nLength>, <cPadChar> ) cPaddedString

PadL( <xValue> , <nLength>, <cPadChar> ) cPaddedString

PadR( <xValue> , <nLength>, <cPadChar> ) cPaddedString

Arguments

<xValue> is the character, date or numeric value to pad

<nLength> is the length of the string to return

<cPadChar> is the character to pad with

Returns

PadC() returns <xValue> as a character string of length <nLength> centered between <cPadChar>.  PadL() returns <xValue> as a character string of length <nLength> padded with <cPadChar> on the left side.  PadR() returns <xValue> as a character string of length <nLength> padded with <cPadChar> on the right side.

 

Table of contents

previous page start next page