extract() Function

Function

extract( text, startDelimiter, endDelimiter )

Returns the value (or values, if the text contains multiple delimited values) between the delimiters from the given text.

Parameters

Keyword Type Description

text

Text

The text from which to extract the delimited string.

startDelimiter

Text

String for the start delimiter.

endDelimiter

Text

String for the end delimiter.

Returns

Text Array

Examples

extract("start function /\*extract this\*/ end function","/\*","\*/") returns extract this

Open in Github Built: Tue, May 23, 2023 (06:12:33 PM)

On This Page

FEEDBACK