Skip to main content

String expressions

Suggest edit Updated on November 10, 2021

The String Expression component lets you add standard string functions to a solution such as concatenation between two string inputs.

When you place the String Expression component on an automation, a design block containing input for the initiating event and output result are contained within the block, along with an entry field for you to specify the expression. Expressions of undefined and defined String Expression blocks are shown here:

String expression

Complete the expression by typing a string expression to evaluate.

Properties

PropertyDescription
ErrorsFor invalid expressions, messages regarding the invalid context display in this property.
Expression

The string expression to perform. Samples of supported string expressions are:

  • Concatenate two dynamics: a+b
  • Concatenate a dynamic and a fixed a + "mystring".
ValidDisplays a value of True or False indicating whether the syntax of the expression is accepted by Studio.
Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us