Extract$

Takes two parameters, Source, Search

Description:

Returns the original source string from the beginning until the search parameter is found. If the search parameter is not found, than the original string will be returned instead.

Example:

Extract$ "Alex Doe", " "

returns "Alex"