---
schema_version: "1"
id: 196a466cdcbefb947144d1c5af15c12121b6676f831d2cb08815a301b14fdc72
title: String to Array
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/rpa-builder/latest/toolbox-variable-handling-string-to-array.md
canonical_url: https://docs.mulesoft.com/rpa-builder/latest/toolbox-variable-handling-string-to-array
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 453cc079f731e6f69878f4c687b2144cc583136258de56348e4023db7635e6af
description: MuleSoft Documentation Site
release: "6.7"
latest: true
---
---
product: RPA Builder
version: 6.7
is-latest-version: true
---

# 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
