Browse Source

* Observe doclear

git-svn-id: trunk@43416 -
michael 5 years ago
parent
commit
f622f58b04
1 changed files with 2 additions and 1 deletions
  1. 2 1
      rtl/objpas/classes/stringl.inc

+ 2 - 1
rtl/objpas/classes/stringl.inc

@@ -534,7 +534,8 @@ begin
  QuoteChars in the string must be repeated to distinguish them from the QuoteChars enclosing the string.
  }
  try
-  Clear;
+  if DoClear then
+    Clear;
   len:=length(AValue);
   If aStrictDelimiter then
     begin