[SR-Users] $(hdr(name)[N]) question

Daniel-Constantin Mierla miconda at gmail.com
Mon Apr 28 09:40:53 CEST 2014


On 24/04/14 16:10, Juha Heinanen wrote:
> wiki was this related to $(hdr(name)[N]):
>
>    If [N] is omitted then the body of the first header is printed. The
>    first header is got when N=0, for the second N=1, a.s.o. In case of a
>    comma-separated multi-body headers, it returns all the bodies,
>    comma-separated.
>
> i don't understand the last sentence. how can i get all bodies of all
> headers of name=x as a comma separated list?
It is related to headers like:

H: v1, v2
H: v3

$hdr(H) returns 'v1, v2'.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-users mailing list