Specify an input string and a mask to filter that string, so substrings that match that mask will not be let into the output string. Only strings that do not match the set mask will be let in.
Syntax
target.strlib.filterout( input, filter )
input: String to be parsed
filter: Regular expression mask to filter the input string
Return value
This function returns a string.
Sample
'---------- Start ----------
Function Start
Dim str, str2
str = "No numbers are allowed 7 2794 3 36 53"
str2 = target.strlib.FilterOut( str, "\d" )
end function
In this case the input string will be filtered for numbers and only non-numeric characters will be let into the output string so the final string will be "No numbers are allowed".