before()
Finds the substring before a specific target.
This function is valid in v2.10.0 to v2.24.3. This function has been downloaded 62 times.subject
.1
target
that you want to key off of within subject
. If negative, the occurrence will be counted from the end of subject
.target
. If target
was not found or the specified occurrence (opt_occurrence
) of target
was not found, null
will be returned.This function directly requires the following function which is included automatically:
around()
This function is directly required by the following function:
around()