You are here: Re: how to find seperator in a csv-file « All PHP « IT news, forums, messages
Re: how to find seperator in a csv-file

Posted by Stefan Rybacki on 01/10/06 16:44

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

nescio wrote:
>> Anyways, I don't think there is a sound way to do this other then
>> finding out manually which character is used.
>
> yes, maybe looking for a sign between quote's is the best way to go
>

yes, and as Oli already mentioned, you could also combine the approach above
with checking whether each line has the same number of seperators. If the CSV
isn't well formed this won't help but may be it does in your case.

Regards
Stefan

> thanks
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1rc2 (MingW32)

iD8DBQFDw8g8yeCLzp/JKjARAj40AKCScnBrlByE1klgjCCazVoew/6pSQCgtP/4
cqloz99WBGoYtMPC80A03mo=
=ChHD
-----END PGP SIGNATURE-----

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация