RetainAny$

Takes two parameters, Source, Search

Description:

Returns all of the characters that are contained in both the Source and Search parameters. If no match is found, an empty string is returned.

Example:

[New] source    = "abc"
[New] searchVal = "bc"

[New] result = RetainAny$ source, searchVal

Html result 'Result is equal to "bc"