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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,374 This week: 1All time: 2,827 This week: 560Up
Version License Categories
bs_csvutil 1.0BSD LicenseFiles and Folders
Description 

Author

Features:
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: 1604
Week rank: 411 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,374
This week:1
All time:2,827
This week:560Up