Skip to content

Text operations

Examples of most often used operations on text (string) variables that you can make using the standard methods available in the C# programming language.

Note that text content in DC statements is sometimes surrounded in single quotes and sometimes in double quotes, e.g. ‘single’ vs. “double”.

If your DC statement is in the HTML element that already contains double quotes you should use single quotes to surround the text:

<a href="http://www.domain.com/test.html&age=${SubscriberProperty('age')}">

The most frequently used text operations are described here: