textafter(
TEXT
,
TAG
)

The textafter( function extracts the text after the tag.


Parameters

This function has two parameters:

text – the original text

tag – the separator character (or characters).


Description

This function extracts the text that appears after a specified tag. The tag many be one or more characters long. If the tag doesn’t occur in the text then the entire original string is returned.

textafter("someone@anisp.net","@") ☞ anisp.net

To extract text before a tag, use the textbefore( function.

Note: This function is equivalent to:

?(thetext contains thetag,thetext[length(thetag)+search(thetext,thetag),-1],thetext)

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.