~4 min10 / 12

String & DateTime Activities

Manipulate text — search, replace, split, join, format, and validate with regex — and perform date/time arithmetic. 9 String activities and 4 DateTime activities cover the most common text and date workflows.

String Replace

Replaces all occurrences of a substring within a string.

ParameterTypeRequiredDescription
InputStringYesSource string
FindStringYesSubstring to find
ReplaceWithStringYesReplacement text (empty string to delete)
CaseSensitiveBooleanNo (default: false)Match case exactly
OutputVariableStringYesVariable to store the result string

String Split

Splits a string by a delimiter and returns the parts as a StringArray.

ParameterTypeRequiredDescription
InputStringYesSource string to split
DelimiterStringYesSeparator (e.g., ,, |, \n)
OutputVariableStringYesStringArray variable to store the resulting parts

String Join

Joins a list of strings into one string with a separator.

ParameterTypeRequiredDescription
InputCollectionStringArray / ListYesCollection of strings to join
SeparatorStringYesSeparator to insert between items (e.g., , )
OutputVariableStringYesResult string

String Contains

Checks whether a string contains a specified substring. Returns a Boolean.

ParameterTypeRequiredDescription
InputStringYesString to search in
SubstringStringYesText to look for
CaseSensitiveBooleanNo (default: false)Case-sensitive match
OutputVariableStringYesBoolean variable — true if found

String Trim

Removes leading and trailing whitespace (or a specified character) from a string.

ParameterTypeRequiredDescription
InputStringYesSource string
TrimCharStringNoCharacter to trim (trims whitespace if omitted)
OutputVariableStringYesTrimmed result string

String Format

Formats a template string using positional placeholders {0}, {1}, etc. — similar to C# string.Format().

ParameterTypeRequiredDescription
TemplateStringYesTemplate with positional placeholders, e.g. Hello {0}, your order {1} is ready
ArgsStringArray / ListYesValues to substitute into placeholders (index 0, 1, 2 …)
OutputVariableStringYesResult string
workflow
1String Format:
2 Template: "Hello {0}, your order {1} is ready."
3 Args: ["{customerName{'}'}", "{orderId{'}'}"]
4 OutputVariable: "message"

Regex Match

Applies a regular expression to a string. Returns whether it matched and optionally extracts capture groups.

ParameterTypeRequiredDescription
InputStringYesText to search
PatternStringYes.NET regex pattern
OutputMatchedVariableStringNoBoolean variable — true if the pattern matched
OutputGroupsVariableStringNoStringArray variable containing capture group values
workflow
1Regex Match:
2 Input: "{invoiceText{'}'}"
3 Pattern: "INV-\\d{6}"
4 OutputMatchedVariable: "isFound"
5 OutputGroupsVariable: "matches"

Regex Replace

Replaces all regex-matched substrings in a string.

ParameterTypeRequiredDescription
InputStringYesSource string
PatternStringYes.NET regex pattern
ReplacementStringYesReplacement string (supports $1 group references)
OutputVariableStringYesResult string

Regex Is Match

Returns a Boolean indicating whether the input fully matches the pattern. Shorthand for Regex Match when you only need the matched flag.

ParameterTypeRequiredDescription
InputStringYesText to test
PatternStringYes.NET regex pattern
OutputVariableStringYesBoolean variable — true if the pattern matches

Get Current DateTime

Returns the current date and time.

ParameterTypeDefaultDescription
UtcBooleanfalseReturn UTC time instead of local machine time
OutputVariableStringDateTime variable to store the result

Format DateTime

Converts a DateTime value to a formatted string using a .NET format string.

ParameterTypeRequiredDescription
InputDateTimeYesDateTime variable to format
FormatStringYesFormat string, e.g. yyyy-MM-dd, dd/MM/yyyy HH:mm, MMMM d, yyyy
OutputVariableStringYesString variable to store the formatted date

Add To DateTime

Adds (or subtracts) a duration to a DateTime value.

ParameterTypeRequiredDescription
InputDateTimeYesSource DateTime variable
AmountInt32YesUnits to add (use negative value to subtract)
UnitDays | Hours | Minutes | Months | YearsYesTime unit
OutputVariableStringYesDateTime variable to store the result

Parse DateTime

Parses a date string into a DateTime variable using an expected format.

ParameterTypeRequiredDescription
InputStringYesDate string to parse (e.g., 28/03/2026)
FormatStringYesExpected format, e.g. dd/MM/yyyy
OutputVariableStringYesDateTime variable to store the parsed value
Was this helpful?