after$

Syntax

result = AFTER$(begin, text, search_key)

Arguments

text, search_key, result: text

begin: integer

Meaning

After$ searches in string text from position begin for character or substring search_key, and puts all characters to the right of that character or that substring in result. If search_key is not found in text, result will remain empty.

Example

text1 = after$(3, ’z,zzzz,yyyyy’, ’,’)

Result

text1 is ‘yyyyy’.

See also

BEFORE$