Start » Filter Reference » Basic » String » PadString

PadString


Module: FoundationLite

Extends a string if it is too short.

Name Type Range Description
Input value
inString String
Input value
inLength Integer 0 - Defines how many characters the output string will have if the input string is too short
Input value
inPadCharacter String Characters inserted to pad the input string
Input value
inPadAtBegin Bool Determines if pad characters will be inserted before first element
Output value
outString String

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Pad string has to consist of one character in PadString.

Complexity Level

This filter is available on Basic Complexity Level.