KeyFile.setString

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 KeyFile.setValue, this function handles characters that need escaping, such as newlines.

class KeyFile
void
setString
(
string groupName
,
string key
,
string string_
)

Parameters

groupName string

a group name

key string

a key

string_ string

a string

Meta