XML Script logo
Trying to pad strings which are too long
Code
Pad this to 3 characters with no truncation: # rpad("flibble", ".", 3, 0) #
Pad this to 3 characters with truncation: # rpad("flibble", ".", 3, 1) #
Output
Pad this to 3 characters with no truncation: flibble
Pad this to 3 characters with truncation: fli
Ref

x.4602

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