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

You can experiment with this function in the test box below.

Test Input

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

Open in Github Built: Thu, Oct 14, 2021 (02:44:31 PM)

On This Page

FEEDBACK