Skip to content

Text Functions

Text functions transform strings for display and logic.

Goal

Format or inspect text values in an expression.

Common functions

Function Purpose
Text.UpperCase() Uppercase
Text.LowerCase() Lowercase
Text.Trim() Remove edge whitespace
Text.Length() Character count
Text.Contains() Substring test
Text.Substring() Extract part of a string
Text.Replace() Replace text
Text.Concat() Join strings

Steps

  1. Open the Expression Builder from a Text Field.
  2. Choose the Text category.
  3. Insert the function and replace placeholders with fields or literals.
  4. Apply and Preview.

[ Screenshot: Text functions in Expression Builder ]

Example

Display a customer name in uppercase:

$F{customerName}.toUpperCase()

See Also