Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Handling the tab character in HTTP requests?

DogSOLDIER Russell
Registered User
Join date: 29 Oct 2005
Posts: 3
10-29-2006 17:59
I am making a simple in game HTML parser which uses the new llHTTPRequest function. The data that it is returning unfortunately has tab characters in it, and I can't figure out how to deal with them using lsl. The \t escape character appears to literally mean four spaces. I don't control the web sites it is downloading data from so I can't just remove the tabs from the page. Does anyone have any idea how to get around this?
Llauren Mandelbrot
Twenty-Four Weeks Old.
Join date: 26 Apr 2006
Posts: 665
10-29-2006 18:04
Have you tried llUnEscapeURL("%09";)?
DogSOLDIER Russell
Registered User
Join date: 29 Oct 2005
Posts: 3
10-29-2006 18:09
Thanks, that works perfectly. :)
Llauren Mandelbrot
Twenty-Four Weeks Old.
Join date: 26 Apr 2006
Posts: 665
10-29-2006 18:12
You`re welcome.:)