QuarkList.addFromString

string must be a semi-colon separated list of "&lt;key&gt;=&lt;value&gt;" strings (for example "DB_NAME=notes;USERNAME=alfred"). Each key and value must respect the RFC 1738 recommendations: the <constant>&lt;&gt;&quot;#%{}|\^~[]&apos;`;/?:@=&amp;</constant> and space characters are replaced by <constant>&quot;%ab&quot;</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.

class QuarkList
void
addFromString
(
string string_
,
bool cleanup
)

Parameters

string_ string

a string.

cleanup bool

whether to cleanup the previous content or not.