Reading a text file with a distinctive pattern
Hi guys,
I have this text file I have to read which looks like the following:
[10000000,35000000,25000000]
[[0,0,0,1,0,0],[0,0,0,0,1,0],[0,0,0,0,0,1]]
The only thing I now before extracting this information is whether the single, double array but don't know the length of the array I was wondering what method to use to extract this information. I've looked at possibly regex or using the tokens but having. Just needed something to start with.
Thanks,
Stephan