TextBetween - script and chart function
TextBetween() returns the text in the input string that occurs between the characters specified as delimiters.
Syntax:
TextBetween(text, delimiter1, delimiter2[, n])
Return data type: string
Arguments:
Argument | Description |
---|---|
|
The original string. |
|
Specifies the first delimiting character (or string) to search for in text. |
|
Specifies the second delimiting character (or string) to search for in text. |
|
Defines which occurrence of the delimiter pair to search between. For example, a value of 2 returns the characters between the second occurrence of delimiter1 and the second occurrence of delimiter2. |
Thanks for helping us improve!