string_to_items/3 is an Erlang function exported by "age_lists" module. Converts string sequence to a list of tuples {Key, Value}. The behavior of this function is similar to RFC 2822, i.e. Terminator followed by WSP character is treated as multi-line value. The space (SP, ASCII value 32) and horizontal tab (HTAB, ASCII value 9) are known as the white space characters (WSP). Consequently, the keys MUST be placed at the very start of each line. Otherwise will converted as a value associated to the previous key. All keys are implicitly converted to ASCII lower case, and then to an atom. Therefore, Key should not contain non-ASCII symbols. |
|
|