str.split() - Pine Script Function
str.split()
Section titled “str.split()”Overview
Section titled “Overview”Divides a string into an array of substrings and returns its array id.
Syntax
Section titled “Syntax”str.split(string, separator) → array<string>Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| string | series string | Source string. |
Returns
Section titled “Returns”The id of an array of strings.