The only difference between
textbefore( is the way they treat the returned value if the tag is not found. The
before( function will return an empty string while the
textbefore( function returns the entire original text. Both of these use a tag parameter so you can specify one or more characters to set the selection.
Now that Panorama X accepts multiple characters as separators for use with the various array statements and functions you can treat them as tags as well as separators. This means that both of these functions can be done using an
array( function in Panorama X.
I mostly just wanted to point out that Panorama X arrays now can use multiple characters as the separator which vastly increases their usefulness.