Is it possible to adjust the stripcode function so it only displays the first image and say the first three hyperlinks in a forum post?
This would come in handy creating modified versions of the news mod (in order to create tutotials sections etc).
Function StripCode(strInput)
'This function will remove any HTML in the given string
strStripped = strInput
intStart = InStr(1, strStripped, "<")
Do While intStart <> 0
intEnd = InStr(intStart, strStripped, ">")
strStripped = Left(strStripped, intStart - 1) & Mid(strStripped, intEnd + 1)
intStart = InStr(intStart + 1, strStripped, "<")
Loop
StripCode = strStripped
End Function