extract() Function

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

Syntax

extract( text, startDelimiter, endDelimiter )

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

FEEDBACK