AlwaysQuote property added to TStrings
Original Reporter info from Mantis: PaulFMichell
-
Reporter name: Paul Michell
Original Reporter info from Mantis: PaulFMichell
- Reporter name: Paul Michell
Description:
This patch adds a property to TStrings that will force all items in the DelimitedText output to be quoted regardless of white space. Property defaults to false, so no change in current behaviour of the class.
Additional information:
This is useful for generating things like SQL IN clauses using TStringsList:
"AField" IN ('ItemA','ItemB','ItemC')
Mantis conversion info:
- Mantis ID: 31126
- Build: 35125
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 35333 (#f0a8355b)
- Target version: 3.2.0