1.3.10.24 Make Array from String
The Make Array from String processor splits up the data in an attribute into an array, using delimiter characters. Elements in the array can then be extracted into separate attributes using Select Array Element, for further processing.
Use Make Array from String as a simple way to break up the data in an attribute.
The following table describes the configuration options:
Configuration | Description |
---|---|
Inputs |
Specify a single String attribute that you wish to split into an array. |
Options |
Specify the following options:
|
Outputs |
Describes any data attribute or flag attribute outputs. |
Data Attributes |
The following data attributes are output:
|
Flags |
None. |
The Make Array from String transformer presents no summary statistics on its processing.
In the Data view, the input attribute is shown with the new added array attribute to its right.
Output Filters
None. All records input are output.
Example
In this example, Make Array from String has been used to split up a single NAME attribute into an array. The different elements in the array can then be extracted and validated:
Name | ArrayFromString |
---|---|
Yvonne CHIN-YOUNG CHUNG |
{Yvonne}{CHIN-YOUNG}{CHUNG} |
Lynda BAINBRIDGE |
{Lynda}{BAINBRIDGE} |
William BENDALL |
{William}{BENDALL} |
Karen SMITH |
{Karen}{SMITH} |
Patricia VINER |
{Patricia}{VINER} |
Colin WILLIAMS |
{Colin}{WILLIAMS} |
Ian PATNICK |
{Ian}{PATNICK} |
Roberta REYNOLDS |
{Roberta}{REYNOLDS} |
Winifride ROTHER |
{Winifride}{ROTHER} |
Drill-down on the array attribute to see the full data in the array, for example:
index (asc) | attribute |
---|---|
1 |
Yvonne |
2 |
CHIN-YOUNG |
3 |
CHUNG |