get_string_index


Description:

public bool get_string_index (string tag, uint index, out string value)

Gets the value that is at the given index for the given tag in the given list.

The resulting string in value will be in UTF-8 encoding and should be freed by the caller using g_free when no longer needed. The returned string is also guaranteed to be non-%NULL and non-empty.

Free-function: g_free

Parameters:

this

a TagList to get the tag from

tag

tag to read out

index

number of entry to read out

value

location for the result

Returns:

true, if a value was copied, false if the tag didn't exist in the given list.