Recase.HeaderCase (recase v0.7.0) View Source

Module to convert strings to Header-Case.

This module should not be used directly.

Examples

iex> Recase.to_header "foo_barBaz-λambdaΛambda-привет-Мир"
"Foo-Bar-Baz-Λambda-Λambda-Привет-Мир"

Header case is the case suggested in [section 3.4.7 of RFC 822] (https://tools.ietf.org/html/rfc822#section-3.4.7) to be used in the message-creation process.

Link to this section Summary

Link to this section Functions

Specs

convert(String.t()) :: String.t()