XML Script logo
Padding strings
Usage

Strings can be padded using the lpad and rpad functions, to add padding characters on the left or right respectively. Strings that are longer than the specified length are optionally truncated.

Examples

Padding strings

Trying to pad strings which are too long

Version

1.0

Ref

t.46

Date

06 August 1999

XML Script homepage | Documentation home | XML Script docs | Command list | Function list | X-Tract docs

X-Stream, X-Tract and XML Script are trade marks of DecisionSoft Limited
© Copyright 1998-2000 DecisionSoft Limited