QuarkList.addFromString
void addFromString(string string_, bool cleanup)string must be a semi-colon separated list of "<key>=<value>" strings (for example "DB_NAME=notes;USERNAME=alfred"). Each key and value must respect the RFC 1738 recommendations: the
<constant><>"#%{}|\^~[]';/?:@=&</constant> and space characters are replaced by
<constant>"%ab"</constant> where
<constant>ab</constant> is the hexadecimal number corresponding to the character (for example the
"DB_NAME=notes;USERNAME=al%20fred`" string will specify a username as "al fred"). If this formalism
is not respected, then some unexpected results may occur.
Adds new key->value pairs from the given string. If cleanup is set to true, the previous contents will be discarded before adding the new pairs.
Parameters
string_ | a string. |
cleanup | whether to cleanup the previous content or not. |