function csv_to_array

6.x csv_to_array($csv_string)
4.x csv_to_array($csv_string)
5.x csv_to_array($csv_string)

Simple function to split a basic CSV string, trim all elements, then return the resulting array.

38 calls to csv_to_array()
admin_display_degrees_popup_add_group2 in modules/admin/
admin_edit_degree_form_submit in modules/admin/
admin_edit_degree_form_validate in modules/admin/
advise_display_popup_change_track in modules/advise/advise.module
advise_display_view in modules/advise/advise.module
This is the page which actually displays the "view" for the user to see their advising session, or for an advisor to advise them.

... See full list


includes/, line 1667
This file contains misc functions for FlightPath


function csv_to_array($csv_string) {
  $temp = explode(",", $csv_string);
  $temp = array_map("trim", $temp);
  return $temp;