Reply to Re: how to find seperator in a csv-file

Your name:

Reply:


Posted by Janwillem Borleffs on 01/10/06 16:27

nescio wrote:
> yes, that could be done, but if the specified delimiter is wrong but the
> sign appears in the first line
> it will return true, isn't it?
>
> lets say they choose the sign '^', and in the csv-file the first line is:
> "232";"4^dfd";"232323"
> the return will be 'true', or am i mistaken?
>

When you don't know the seperator, but do know that the values are
quoted, you could apply implode or a preg function to get the values
from each row.

Anyways, I don't think there is a sound way to do this other then
finding out manually which character is used.


JW

[Back to original 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

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