Text to Left/Right

Splits a string in two around the first or last occurrence of a separator.

Behaviour

Risk: None · Idempotent: Yes · Safe to retry: Yes · Recovery: Not replayed after a crash

Package System activities VeloPhex.System.Activities 0.7.1-rc.12 · Supported (Core profile) · type id velophex.system.splitTextAt

Properties#

Input#

Input#

Input · String · Required · Default: Not specified in package metadata

The text to split.

Separator#

Separator · String · Required · Default: Not specified in package metadata

The text to split around; it is in neither result.

Occurrence#

Occurrence · String · Optional · Default: First

Split at the first or the last occurrence of Separator.

Allowed values: First, Last.

Match Case#

MatchCase · Boolean · Optional · Default: False

Separator matches upper and lower case exactly.

Output#

Left#

Left · String · Output

The text before the separator; all of Input when it is not found.

Right · String · Output

The text after the separator; empty when it is not found.

Found#

Found · Boolean · Output

Whether Separator occurs in Input.

Retry and risk#

This activity is safe to retry: running it again after a transient failure does not repeat a side effect. If a run is interrupted and the outcome of a step is unknown, the step is never retried automatically (what to do). How activities declare this: characteristics, retries and risk.

Every activity also has the engine's common properties: Timeout and Continue On Error.

Generated from VeloPhex.System.Activities 0.7.1-rc.12. Category: Text. Keywords: text, string, split, left, right, before, after, separator, substring.

Properties

Input

Output

Retry and risk

Related activities