split
Split a text by a delimiter
Parameters description
Parameter | Type | Description | Default |
---|---|---|---|
text | string | the text to split | --- |
delimiter | string | the delimiter between the different texts in the main text | --- |
returnAllAs | 'string'|'number'? | if the main text contains any numbers, you can choose for these values to be returned as number or the default string | 'string' |
isArray | boolean? | choose to return all the values as an array in one value or not | false |
Example
Last updated