Extracted from Pike v7.3 release 14 at 2002-02-15.
pike.roxen.com
[Top]
MIME

Method MIME.tokenize_labled()


Method tokenize_labled

array(array(string|int)) MIME.tokenize_labled(string header)

Description

Similar to MIME.tokenize, but lables the contents, by making arrays with two elements; the first a label, and the second the value that MIME.tokenize would have put there, except for that comments are kept.

The following lables exist:

"encoded-word"

Word encoded according to =?...

"special"

Special character.

"word"

Word.

"domain-literal"

Domain literal.

"comment"

Comment.


See also

MIME.quote, MIME.tokenize