before(
TEXT
,
TAG
)

The before( function extracts all text before a specified tag (sequence of characters). If the tag doesn’t exist the function returns “”.


Parameters

This function has two parameters:

text – the original text

tag – the separator character (or characters).


Description

This function extracts all text before a specified tag (sequence of characters). If the tag doesn’t exist the function returns “”.

before("john.doe@isp.com","@") ☞ john.doe

Note: This function is equivalent to:

tagdata(chr(255)+chr(254)+chr(253)+thetext,chr(255)+chr(254)+chr(253),thetag,1)

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.