PROCESIO
OverviewPlatform ActionsIntegrations & DemosMarketplaceCustom ActionsDeveloperโ€™s Guide

Take From Left

Returns the first characters of a text, as many as you choose.

Take From Left returns the first characters of a text, for example the first 3 characters of a product code or the year at the start of a date text.

Take From Left was previously called String Left.

Add the action

In the Process Designer toolbox, open String and pick Take From Left (or type Take From Left in the search box).

The Take From Left action properties: Input String, Number of characters and Result

Inputs and outputs

FieldDirectionTypeRequiredWhat to put / what you get
Input StringInputTextYesThe text to take characters from.
Number of charactersInputIntegerYesHow many characters to return, counted from the left.
ResultOutputTextYesThe first characters of the text.

Example

Input StringNumber of charactersResult
Hello world5Hello
Hello50Hello
Hello0(empty text)
Hello-2(empty text)

Good to know

  • Asking for more characters than the text has is safe: you get the whole text.
  • A number of 0 or less gives an empty text. The step does not fail.
  • An empty input gives an empty result.

On this page