I need to replace all the occurences of a string within another string
(or stringbuilder):
Function ReplaceInsensit ive(ByVal InputString As String, _
ByVal SubstringReplac ed As
String, _
ByVal Replacement As
String) As String
'...
End Function
I wish the search for "SubstringRepla ced" to be case insensitive.
I can think of various way to do it, but all I can think is quite
awkward. Can anybody suggest a good and fast method? There must be
something built in the language, but I am missing it
-Pam
(or stringbuilder):
Function ReplaceInsensit ive(ByVal InputString As String, _
ByVal SubstringReplac ed As
String, _
ByVal Replacement As
String) As String
'...
End Function
I wish the search for "SubstringRepla ced" to be case insensitive.
I can think of various way to do it, but all I can think is quite
awkward. Can anybody suggest a good and fast method? There must be
something built in the language, but I am missing it
-Pam
Comment