Alexandre Leclerc wrote:
2006/6/5, Bisma Jayadi <[EMAIL PROTECTED]>:
> I checked arround to see if there was a function to parse a valid CSV
> string and return the result in a array?
Try to look at TjanSQL component which has been ported to Lazarus on FPC
Contributed Units section. This component is a CSV database engine
with SQL
support. It's also available TSDSDataSet component on Lazarus, but it
has no SQL
support. I don't know whether those components can handle such
problem or not.
But, it could be a good start for you. If it can't handle the
problem, I'd like
to fix the code, especially the TjanSQL component. :)
I was not able to find the component... :(
Google gave a lot of results on TjanSQL
Jans Freeware Delphi Components
<http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fjansfreeware.com%2Fjfdelphi.htm&ei=QH-FRMqjMI7cQtS8kOsB&sig2=xxxt5W9g9fOoxPEwaUaXaw>
2-April-2002 size:379kb *TjanSQL* is a single user relational Database
engine implemented as a Delphi object using plain text files with
semi-colon separated *...*
jansfreeware.com/jfdelphi.htm - 31k - Cached
<http://216.239.59.104/search?q=cache:YV0NdW2x9_YJ:jansfreeware.com/jfdelphi.htm+TjanSQL&hl=en&ct=clnk&cd=1&client=firefox-a>
- Similar pages
<http://www.google.com/search?hl=en&hs=nYv&lr=&client=firefox-a&rls=org.mozilla:en-US:official&pwst=1&q=related:jansfreeware.com/jfdelphi.htm>
- Note this
<http://www.google.com/search?q=TjanSQL&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official#>
Torry's Delphi Pages <http://homepages.borland.com/torry/db_custom.htm>
*TjanSQL* is a single user relational Database engine implemented as a
Delphi object using plain text files with semi - colon seperated data
for data storage *...*
homepages.borland.com/torry/db_custom.htm - 51k - Supplemental Result -
Cached
<http://216.239.59.104/search?q=cache:k0j7PMlOXVAJ:homepages.borland.com/torry/db_custom.htm+TjanSQL&hl=en&ct=clnk&cd=2&client=firefox-a>
- Similar pages
<http://www.google.com/search?hl=en&hs=BEG&lr=&client=firefox-a&rls=org.mozilla:en-US:official&pwst=1&q=related:homepages.borland.com/torry/db_custom.htm>
- Note this
<http://www.google.com/search?q=TjanSQL&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official#>
gmane.comp.compilers.free-pascal.general
<http://blog.gmane.org/gmane.comp.compilers.free-pascal.general/page=3>
I found *TjanSQL* from http://jansfreeware.com. It's a small-text-based
custom database component with SQL ability. The database itself is a
comma separated *...*
blog.gmane.org/gmane.comp.compilers.free-pascal.general/page=3 - 49k -
Cached
<http://216.239.59.104/search?q=cache:-KzZbD2qCq8J:blog.gmane.org/gmane.comp.compilers.free-pascal.general/page%3D3+TjanSQL&hl=en&ct=clnk&cd=3&client=firefox-a>
- Similar pages
<http://www.google.com/search?hl=en&hs=nYv&lr=&client=firefox-a&rls=org.mozilla:en-US:official&pwst=1&q=related:blog.gmane.org/gmane.comp.compilers.free-pascal.general/page%3D3>
- Note this
<http://www.google.com/search?q=TjanSQL&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official#>
Free Pascal - Unit contribution form
<http://www.freepascal.org/contrib/db.php3?category=all>
laz-*TjanSQL* v.1.2 is modified version of *TjanSQL* v.1.1 to make it
*...* *TjanSQL* itself is a text comma-separated-value database engine
with SQL ability. *...*
www.freepascal.org/contrib/db.php3?category=all - 247k - Cached
<http://216.239.59.104/search?q=cache:YctHNM5nWPUJ:www.freepascal.org/contrib/db.php3%3Fcategory%3Dall+TjanSQL&hl=en&ct=clnk&cd=4&client=firefox-a>
- Similar pages
<http://www.google.com/search?hl=en&hs=BEG&lr=&client=firefox-a&rls=org.mozilla:en-US:official&pwst=1&q=related:www.freepascal.org/contrib/db.php3%3Fcategory%3Dall>
- Note this
<http://www.google.com/search?q=TjanSQL&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official#>
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives