lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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*(.-)$")