util_maybe_dequote


Description:

public static string util_maybe_dequote (ref string? text)

Dequotes text, if it's enclosed in double-quotes.

The function changes text, it doesn't allocate new string. The function does nothing when the text is not enclosed in double-quotes.

Parameters:

text

text to dequote

Returns:

possibly dequoted text




2022 vala-language.org