public static sanitizeHeaderValue(value as String) as String
Removes line breaks from a single MIME header value.
| Parameter | Description |
|---|---|
value | Header text to sanitize. |
Trimmed text with every CR/LF sequence replaced by a space.
assert MailSupport.sanitizeHeaderValue("one\r\ntwo") == "one two"