Ciao a tutti, ho un piccolo problema...
Ho una textbox con al ptoprio interno questo codice html:
Tramite questa funzione vado ad estrarre "Tommorrow", sfruttando il fatto che è compreso tra <H5></H5>...
codice:
html = Text1.Text
'The start string.
strStart = "<H5>"
strEnd = "</H5>"
lonPos = InStr(1, html, strStart, vbTextCompare)
If lonPos > 0 Then
lonPos = lonPos + Len(strStart)
lonEnd = InStr(lonPos, html, strEnd, vbTextCompare)
If lonEnd > 0 Then
strEmail = Mid$(html, lonPos, lonEnd - lonPos)
Text4.Text = strEmail
End If
Il mio probema è: adesso vorrei potere estrarre dall'html "Wednesday", soltanto che è compreso sempre tra <H5></H5> e quindi mi esce sempre fuori "Tomorrow"...Come posso fare per ottenere "Wednesday"?...Grazie mille a tutti...