Skip to content

TStringList.delimitedtext doesn't respect quotechar

Original Reporter info from Mantis: marco @marcoonthegit
  • Reporter name: Marco van de Voort

Description:

Seems that delimited text doesn't trim quotechar while it should. (Delphi (XE) does)

Steps to reproduce:

Run program

FPC output:
0"Avl_Tree"
1"base"
2"common"
3"base"
4"AVL tree, used by laz*xml"

Delphi output:
0Avl_Tree
1base
2common
3base
4AVL tree, used by laz*xml

Additional information:

IIRC it is even documented so in Delphi help.

Mantis conversion info:

  • Mantis ID: 19610
  • Version: 2.5.1
  • Fixed in version: 2.6.4
  • Fixed in revision: 23652 (#77daeb56)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information