Method code for $string.unquote()

[Turn on line numbering]
arg str;

if (str && str[1] == "\"" && str[str.length()] == "\"")
    return str.subrange(2, str.length() - 2);
return str;

// Created 27-Mar-1995 as a part of ColdCore, see: @help Credit

Tlon