JVCL Help:StripQuotes
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: StripQuotes function
[+] JvCsvParse.pas Functions
Search in JVCL Help
Search in all projectsSummary
Strips quotes from a string if it has quotes around it. Will de-escape embedded quotes if they are properly escaped.
Pascal
run\JvCsvParse.pas
functionStripQuotes(constS1: AnsiString): AnsiString;
Parameters
Parameters | Description |
const S1: AnsiString | Buffer to strip quotes from. |
Description
Modifies a PChar buffer containing a string which may or may not have leading and trailing quotes. Result after call is that the buffer contains only the data that was previously inside the quotes, all leading and trailing whitespace, and the quote characters themselves, are gone. Escaped quote characters (") within the string have been replaced with their literal equivalents (").
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page