to_string


Description:

public unowned string to_string ()

Converts the value to its equivalent string representation

Example: String ... to string:

public static int main () {
string str = "U = R * I";
unowned string str2 = str.to_string ();
print ("%s\n", str2);
return 0;
}

valac --pkg glib-2.0 string.to_string.vala