p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_codeclinic thread: Mid $ function


Message #1 by "O'Hara, Elliott M" <EMOHARA@k...> on Tue, 27 Feb 2001 07:30:41 -0500
This is quite easy with Regular Expression:

Function stripTags(HTMLstring,startarg,endarg)
Set RegExpObj = New RegExp
With RegExpObj
   .Pattern = startarg & "[^"& endarg &"]+"& endarg
   .IgnoreCase = True
   .Global = True
End With
stripTags = RegExpObj.Replace(HTMLstring, "")
Set RegExpObj = nothing
End Function 


  Return to Index