[RESOLVED] Weird characters I cant get rid of, please help
Ok, I am using code to get spcific information from the weather.com website. The current weather and the feels like temperature and the date updated. The problem is that when I put it into a text box (each into its own) I get a space at the begining followed by 3-5 of these black boxes. The ones you get when there is a character that the text box does not recognize. Does anyone know how to remove these? Also, does anyone know how to place a space between the end of a string and before a number?
I have "Clear49*F" and I want it to be "Clear 49*F"
Re: Weird characters I cant get rid of, please help
did u use that code I posted to get the "Feels Like" ?
post the code u are using to for this
Re: Weird characters I cant get rid of, please help
Thanks static but I got it fixed, I believe. I took your code and changed it a little. Now it reads the source code, not the page text. So it doesnt display the weird characters anymore.
VB Code:
Set hDoc = WebBrowser1.Document
doc = hDoc.body.innerHTML
If InStr(doc, "<B class=obsTempTextA>") Then
tmp = Split(doc, "<B class=obsTempTextA>")
tmp = Split(tmp(1), "</B>")
Text1.Text = tmp(0)
End If
Re: [RESOLVED] Weird characters I cant get rid of, please help