quote


Description:

public string quote (string unquoted_string)

Example: Quote a string:

public static int main (string[] args) {
// Output: ``'my str'``
string quote = Shell.quote ("my str");
print ("%s\n", quote);
return 0;
}

valac --pkg glib-2.0 GLib.Shell.quote.vala


Namespace: GLib.Shell
Package: glib-2.0