PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (12 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,363 This week: 1All time: 2,667 This week: 1,360Up
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: 1489
Week rank: 1031 Up

  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  
 0%Total:1,363All time:2,667
 This week:1This week:1,360Up