Skip to main content
All CollectionsWrk Action LibraryText
Retrieve first characters from text
Retrieve first characters from text
Wrk Product avatar
Written by Wrk Product
Updated over a week ago

Extracts a number of characters starting from the beginning of the text.

Common use cases

  • Data Manipulation

Category

  • Text

Inputs (what you have)

NAME

DESCRIPTION

TYPE

REQUIRED

EXAMPLE

Source text

The text from which to extract content

Text

Yes

Plane

Number of characters to extracted

The number of characters to be extracted

Integer

Yes

2

Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data library section. These variables in the Data library are the outputs of previous Wrk Actions in the Wrkflow.

Outputs (what you get)

NAME

DESCRIPTION

TYPE

REQUIRED

EXAMPLE

Result text

The character results

Text

Yes

Pl

Outcomes

NAME

DESCRIPTION

Success

This status is selected when the characters are retrieved successfully.

No Result

There is no content matching the provided criteria.

Unsuccessful

This status is selected in the event of the following scenarios:

- An error occurred

- The source text is invalid

- The number of characters to extract exceeds the number of characters in the provided text

Requirements

  • N/A

Did this answer your question?