QuarkList.from_string


Description:

[ CCode ( has_construct_function = false ) ]
public QuarkList.from_string (string string)

Creates a new QuarkList given a string.

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.

Parameters:

string

a string.

Returns:

the newly created QuarkList.

Free-function: gda_quark_list_free