Free cookie consent management tool by TermsFeed

cleanwith() Function

Function

cleanwith( text, with )

Returns the specified text, minus any characters not in the list of valid characters. (Performs the opposite function of "stripwith".)

See also: stripwith()

Parameters

Keyword Type Description

text

Text

The text to be "cleaned" for printing purposes.

with

Text

The text allowed in the "cleaned" result.

Returns

Text

Examples

cleanwith("text string","xt") returns txtt

cleanwith("text string","x t") returns txt t

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
Sync-Time Custom Record Fields Compatible

Can be used to create a custom record field that only evaluates at sync time.

Real-Time Custom Record Fields Incompatible
Process Reports Compatible
Process Events Compatible

Feedback