Before

before [<search>] [<full string>]

Returns the part of the string before the specified search string.

Parameters:

  1. The part of the string to look for and get the text before.
  2. The complete string to find the text before the search string in.

Returns: The part of the string before the specified search string.