Receiving data from Arduino

I’m still learning, but shouldn’t this be an array, like this:

str [ ] = split(val," "); //split data with space

where the square brackets define an array that is populated with data from the serial? Not sure if this is the issue causing the slow rate, or if it’s an issue at all…

How slow though? Are you getting just the first line, or is the rate of new data slow? Is it updating past the first few lines of data?