function csv_to_array
Search API
7.x misc.inc | csv_to_array($csv_string) |
6.x misc.inc | csv_to_array($csv_string) |
4.x misc.inc | csv_to_array($csv_string) |
5.x misc.inc | csv_to_array($csv_string) |
Simple function to split a basic CSV string, trim all elements, then return the resulting array.
32 calls to csv_to_array()
- admin_display_degrees_popup_add_group in modules/
admin/ admin.degrees.inc - admin_display_degrees_popup_add_group2 in modules/
admin/ admin.degrees.inc - admin_edit_degree_form_submit in modules/
admin/ admin.degrees.inc - advise_display_popup_change_track in modules/
advise/ advise.module - advise_popup_display_summary in modules/
advise/ advise.history.inc - Displays the printable advising summary.
File
- includes/
misc.inc, line 1045 - This file contains misc functions for FlightPath
Code
function csv_to_array($csv_string) {
$temp = explode(",", $csv_string);
$temp = array_map("trim", $temp);
return $temp;
}