DeleteAllWildcardMatches

Top  Previous  Next

function DeleteAllWildcardMatches(sSource as string, sWildcard As String) as string

 

Removes all wildcard matches from string sSource. The result is returned in a string.  sWildcard is a Wildcard with a start text, an asterisk and an end text with the syntax:

 

StartText*EndText

 

DeleteAllWildcardMatches is case-sensitive.

 

Parameters

 

sSource ... String expression from which all wildcard matches are deleted.
sWildcard ... Wildcard expression being searched (StartText*EndText).

 

Example:

' Delete all option tags from HTML source code

sMem = DeleteAllWildcardMatches(sMem, "<option*</option>")




Translate document: