Skip to content

Find

Finds and returns the first string matched by the given regular expression.

Syntax

String.Find
   ·  [pattern]
   ·  [text]

Parameters

pattern
The regular expression pattern to search for.
text
The text to search for a match.

Return Value

The first found match or an empty string if no match is found.