Unit CSVStringInfo

CSVStringInfo v1.1 (Created in Delphi 2.0) By: Craig Manley Churchillweg 224 1314 TG Almere Netherlands Tel.: Int'l access code +31 36 5300347 E-mail: c.manley@tip.nl Homepages: http://www1.tip.nl/~t960341 http://www.skybound.club.tip.nl Description: CSVStringInfo is a Delphi component that is used to break up comma delimited strings into separate fields similar to the way dBase does. There is a CommaText function in Delphi, but it doesn't work the same way. TCSVStringInfo works both during design time and run-time. Changes: Version 1.1 Changed the field extracting algorithm. In version 1.0 it worked exactly the same way as in Microsoft Visual FoxPro. But seeing that the way Microsoft's product does it is buggy (as usual), I changed the algorithm. Example: The string 1234,"Johny "B" Goode","music" would be separated by FoxPro into: 1234 Johny B Goode music Borland dBase will return these fields (slightly better): 1234 Johny music My algorithm will return: 1234 Johny "B" Goode music Relevant properties: About: Click here to see information about me. Error: Object type Boolean. Read only. True when SourceString has length of 0. FieldList: Object type TStringList. Read only. This is where the seperated fields come as soon as you put a string into SourceString. SourceString: Object type String. Put your comma delimited string here.

Classes

TCSVStringInfo -

Functions

Register - --------------------------------------} { Register } {--------------------------------------

Types

Constants

Variables


Functions


procedure Register;

--------------------------------------} { Register } {--------------------------------------

Types


Constants


Variables