---
schema_version: "1"
id: 840a028b0bbe7163ff291b8c82c0875cdaf9d3f85bc326dd50993be92582299f
title: String to Array
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/rpa-builder/6.6/toolbox-variable-handling-string-to-array.md
canonical_url: https://docs.mulesoft.com/rpa-builder/6.6/toolbox-variable-handling-string-to-array
source_site: docs.mulesoft.com
content_type: documentation
content_hash: f70b28bf5d8573f41a308df12d421abb3b265a7891d906b5186bb5d98af3bc39
description: MuleSoft Documentation Site
release: "6.6"
latest: false
---
---
product: RPA Builder
version: 6.6
---

# String to Array

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

The _String to Array_ Action Step allows you to split a string into arrays and to process them
further in the subsequent Action Steps, such as with the _Read from Array_ Action Step.

## Properties

**Input String** (string, empty with the default setting, must not be empty) String that can be
entered using the keyboard or in the wizard, including with the help of the pin variables.

**Separator** Define a separator that the string is to be separated after. In the wizard, you also
have the option of entering the separator via a pin variable.

The separator may comprise more than one character, such as //, or also be a space.

## Inbound Variables

**Input String** (string, empty with the default setting, must not be empty) String that can be
entered using the keyboard or in the wizard, including with the help of the pin variables.

**Separator** Define a separator that the string is to be separated after. In the wizard, you also
have the option of entering the separator via a pin variable.

## Outbound Variables

**ResultAsArray** The converted string is output as an array.

## Example

1.

String = DE 123456789

Separator = space

Array output = DE;123456789

2.

String = 1234567/123/456

Separator = /

Array output 1234567;123;456
