Exilon 3 лет назад
Родитель
Сommit
1219827928
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Quick.Commons.pas

+ 1 - 1
Quick.Commons.pas

@@ -2144,7 +2144,7 @@ end;
 
 function UnQuotedStr(const str : string; const aQuote : Char) : string;
 begin
-  if (str.Length > 0) and (str[Low(str)] = aQuote) and (str[High(str)] = aQuote) then Result := Copy(str, Low(str)+1, High(str) - 1)
+  if (str.Length > 0) and (str[Low(str)] = aQuote) and (str[High(str)] = aQuote) then Result := Copy(str, Low(str)+1, High(str) - 2)
     else Result := str;
 end;