set_string


Description:

public void set_string (string group_name, string key, string str)

Associates a new string value with key under group_name.

If key cannot be found then it is created. If group_name cannot be found then it is created. Unlike set_value, this function handles characters that need escaping, such as newlines.

Parameters:

this

a KeyFile

group_name

a group name

key

a key

string

a string