padright() Function
This function may not be compatible with all features of Appian. For details, see the Feature Compatibility section below.

Function

padright( text, length )

Pads text with spaces on the right so that it is a certain length.

Parameters

Keyword Type Description

text

Text

The text to be padded.

length

Number

The target number of characters desired in the final text.

Returns

Text

Usage considerations

Padding and text length

Spaces will be added until the text has the number of characters entered for the length parameter.

Text longer than the specified length remains untouched.

Examples

padright("boston",10) returns boston    

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
Custom Record Field Expressions Compatible
Open in Github Built: Fri, Aug 05, 2022 (02:40:39 PM)

On This Page

FEEDBACK