Wildcards
I am trying to use the Replace() function to remove any parenthesised information in a string. For example:
X = Replace(X, "(" & * & ")", "")
Of course, this doesn't work as VB doesn't recognize * as a valid character. Is there any way to get around this; is there a function for wildcards in VB? Any help is greatly appreciated.
I am trying to use the Replace() function to remove any parenthesised information in a string. For example:
X = Replace(X, "(" & * & ")", "")
Of course, this doesn't work as VB doesn't recognize * as a valid character. Is there any way to get around this; is there a function for wildcards in VB? Any help is greatly appreciated.