Name

String::Pad — Add spaces after the text to make it long enough

Synopsis

Import String;
string String::Pad ( string  text ,
  integer  length );

Parameters

string text

text to be padded

integer length

requested length

Return Value

string

padded text

Description

Add spaces after the text to make it long enough. If the text is longer than requested, no changes are made.