Free cookie consent management tool by TermsFeed padright() Function
padright() Function

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
Process Reports Compatible
Process Events Compatible
Open in Github Built: Fri, Apr 19, 2024 (06:08:06 PM)

padright() Function

FEEDBACK