Skip to main content

JavaScript Examples - Strings

Snippets for reading and reshaping text values. Each one is an expression for a Calculated Field Flow Step: it reads a Field from $record, and the value of its last line becomes the new Field's value. Replace fieldAliasGoesHere with the alias of your Field.

In this section​

ArticleIn one line
How to display parts of a stringTake the first or last few characters, or a range in between.
How to manipulate a stringInsert punctuation, strip characters, pad to a fixed width, or split a delimited value.