# CSV to Array? HTTPService.... \[Flex/AS\]

**URL:** <https://forum.kirupa.com/t/csv-to-array-httpservice-flex-as/244358>\
**Category:** flash\
**Created:** [November 16, 2007, 6:37pm UTC](https://forum.kirupa.com/t/csv-to-array-httpservice-flex-as/244358 "2007-11-16T18:37:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ratherblue](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ratherblue/32/2052_2.png) [@ratherblue](https://forum.kirupa.com/u/ratherblue)\
**Post date:** [November 16, 2007, 6:37pm UTC](https://forum.kirupa.com/t/csv-to-array-httpservice-flex-as/244358/1 "2007-11-16T18:37:56Z")

</div>

Is it possible to convert a CSV to an Array?

My CSV looks something like this:

ID, Date, Value  
PID,1/31/2007,8.6054  
PID,2/28/2007,10.3755  
PID,3/31/2007,10.2985  
PID,4/30/2007,12.7639  
PID,5/31/2007,13.3313  
PID,6/30/2007,15.3137  
PID,7/31/2007,16.6456

Obviously if I was doing it in PHP it’d be easy, explode on "  
" then explode each line on “,” but Actionscript seems to be a little more picky.

I want to read this file, and I tried with HTTPService but that gives me [HTTPService Object] or something…
