Changeset 109 for trunk/Packages/Common/UCommon.pas
- Timestamp:
- Jul 26, 2016, 11:22:43 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/UCommon.pas
r43 r109 64 64 procedure ExecuteProgram(CommandLine: string); 65 65 procedure FreeThenNil(var Obj); 66 function RemoveQuotes(Text: string): string; 66 67 67 68 … … 440 441 end; 441 442 443 function RemoveQuotes(Text: string): string; 444 begin 445 Result := Text; 446 if (Pos('"', Text) = 1) and (Text[Length(Text)] = '"') then 447 Result := Copy(Text, 2, Length(Text) - 2); 448 end; 449 450 442 451 initialization 443 452
Note:
See TracChangeset
for help on using the changeset viewer.