Re: Most succinct way to parse an HTTP header string
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Most succinct way to parse an HTTP header string
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2013年8月29日 11:23:02 -0300
> I want to parse a HTTP header string "name:value" pair. In REXX this is
This should work just fine:
local name,value=string.match(line,"(.-):%s*(.-)$")