Remain$

Takes two parameters, Source and Search

Description:

This command searches the Source for the Search value. If the Search value is found within the Source, then the remaining characters after the Search value are returned. If no Search value is found, an empty string is returned.

Examples:

Match found at start of Source

[New] Source = "abcdefg"
[New] Search = "abc"

[New] Result = Remain$ Source, Search

Html Result 'Result is equal to "defg"

Match found in middle of Source

[New] Source = "abcdefg"
[New] Search = "def"

[New] Result = Remain$ Source, Search

Html Result 'Result is equal to "g"

Match not found in Source

[New] Source = "abcdefg"
[New] Search = "xyz"

[New] Result = Remain$ Source, Search

Html Result 'Result is equal to ""