Okay, so how do I read a webpage that has:

line1
line2
line3

into a %var like this:

line1 | line2 | line3 ?

I have something like this:

Code:
sockread %data
set %output %data $chr(124) $gettok(%data,1,13)


%output is then: line3 | line3

Last edited by gaui; 27/09/10 12:28 AM.

__________________________
Curiosity killed the cat.