PHP Classes

Bs_CsvUtil.class.php: comma separated values - read and write

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2002-11-05 (13 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,370 All time: 2,741 This week: 1,134Up
Version License Categories
bs_csvutil 1.0BSD LicenseFiles and Folders
Description Author

supports any separator char sequence, default is semicolon ";".
supports separator characters in the values. eg you use a ; as separator, your line may look like
blah;hello world;"foo";"foo;bar";"this is a ""string""";got it?;foo
as you can see, the values can be in "quotes". if your text uses quotes itself as in the "string"
example, they are escaped in ms-style with 2 quotes. and by using quotes we can even have your
separator inside the text (example "foo;bar").
line breaks. a csv line may spread over multiple lines using crlf in a field value.
see the checkMultiline param and the _checkMultiline() method.

Picture of blueshoes
Name: blueshoes <contact>
Classes: 2 packages by
Country: ???
Age: ???
All time rank: 1533
Week rank: 1549 Down

  Files folder image Files  
File Role Description
Plain text file Bs_CsvUtil.class.php Class class file
Accessible without login Plain text file Bs_CsvUtil_PhpUnit.class.php Test php unit test, needs blueshoes installed

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,741
This week:1,134Up