String processing (Free)

Split string

The workflow action splits string into collection of substrings using separator string.

Output parameters

Parameter Description Example
ResultVariable Specify dictionary workflow variable to store collection of substrings.

Dictionary variable with following structure:

[
  "test1",
  "test2",
  "test3",
  "test4"
]

Input parameters

Parameter Description Example
SourceString Source string test1;test2;test3;test4
SplitString Separator string ;

Example

Split string workflow action example

Join Dictionary Values

Concatenate the values of dictionary into single string

Output parameters

Parameter Description Example
Result string String value will constain result of operation /lib1/Order1.docx;/lib2/Order2.docx

Input parameters

Parameter Description Example
Source dictionary Data source, type dictionary Variable:Attachments
Separator Separator that will be used for string concatenation ';' or any of symbols or string
Path Key for select or path ({0})/ServerRelativeUrl

Example

Join Dictionary Values

Format date

The workflow action formats date using specified format string.

Output parameters

Parameter Description Example
ResultString Specify workflow variable to formatted string Friday 29 August

Input parameters

Parameter Description Example
SourceDate Date to format 3/21/2014 7:27:10 PM
FormatString

Format string. The workflow action uses .NET method DateTime.ToString(string format), you can find possible format strings on MSDN:

d
D
MMM
d MMMM
ddd d MMM

Example

Format date workflow action example

Get length of string

The workflow action returns length of a string.

Output parameters

Parameter Description Example
ResultVariable Specify workflow variable to store length 11

Input parameters

Parameter Description Example
SourceString Source string test string

Example

Get length of string workflow action example

String contains

The workflow action checks if a string contains a substring. It allows optionally ignore case of the source string and the substing.

Output parameters

Parameter Description Example
ResultVariable Specify workflow variable to store result. Yes

Input parameters

Parameter Description Example
IgnoreCase Allows to ignore case of the source string and of the substring. Default value: Yes. Yes No
SourceString Source string test string
Substring Substring test

Example

String contains workflow action example

String starts with

The workflow action checks if a string starts with a substring. It allows optionally ignore case of the source string and the substing.

Output parameters

Parameter Description Example
ResultVariable Specify workflow variable to store result. Yes

Input parameters

Parameter Description Example
IgnoreCase Allows to ignore case of the source string and of the substring. Default value: Yes. Yes No
SourceString Source string test string
Substring Substring te

Example

String starts with workflow action example

String ends with

The workflow action checks if a string ends with a substring. It allows optionally ignore case of the source string and the substing.

Output parameters

Parameter Description Example
ResultVariable Specify workflow variable to store result. Yes

Input parameters

Parameter Description Example
IgnoreCase Allows to ignore case of the source string and of the substring. Default value: Yes. Yes No
SourceString Source string test string
Substring Substring ing

Example

String ends with workflow action example

String to lower

The workflow action transforms a string to lower case.

Output parameters

Parameter Description Example
ResultString Specify workflow variable to store lower string. test string

Input parameters

Parameter Description Example
SourceString Source string TEST STRING

Example

String to lower workflow action example

String to upper

The workflow action transforms a string to upper case.

Output parameters

Parameter Description Example
ResultString Specify workflow variable to store upper string TEST STRING

Input parameters

Parameter Description Example
SourceString Source string test string

Example

String to upper workflow action example