escape_string


Description:

public static string escape_string (string string)

Escapes string to make it understandable by a DBMS.

The escape method is very common and replaces any occurrence of "'" with "''" and "\" with "\\"

Parameters:

string

string to escape

Returns:

a new string




2022 vala-language.org