unquotedString

Removes quotation marks from around the string, (if there are any).

Syntax

unquotedString(content)

Returns

(string) with removed quotation marks from around the string, (if there are any).

Parameters

content (string)
source

Usage

echo(unquotedString("\"quoted1\""));
echo(unquotedString("'quoted2'"));