app-workflow_engine

On this page:

split

Summary

Splits a string into an array of substrings

Description

Splits a string into an array of strings by separating the string into substrings, using a specified separator string to determine where to make each split.

Route

No Northbound API Available

Roles

admin

Parameters

DetailsExampleSchema
Name Type Required Description
str string yes The string to split on
separator string no Denotes the points at which each split should occur. Treated as a string or regular expression
limit number no A limit on the number of splits to be found

Return

DetailsExampleSchema
Name Type Description
splitArray array The array of strings split at each point where the separator occurs in the given string