[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: Thu, 29 Aug 2013 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*(.-)$")