We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › Getting Started Parsing Files
Page Index Toggle Pages: 1
Getting Started Parsing Files (Read 912 times)
Getting Started Parsing Files
Aug 10th, 2009, 6:01pm
 
I am new to Processing and am trying to read a ";" delimited text file.
What I am wanting to do is to read the file and then manipulate the data. I am not having much luck reading the file.
Could someone help me with a basic framework to do this?
Thanks!!!
Re: Getting Started Parsing Files
Reply #1 - Aug 11th, 2009, 12:50am
 
Hi,

I think you might want to look in this thread:

http://processing.org/discourse/yabb2/?num=1211983817
Re: Getting Started Parsing Files
Reply #2 - Aug 11th, 2009, 4:48am
 
How to load strings from a file:
http://processing.org/reference/loadStrings_.html

How to split a string into tokens using a custom delimiter:
http://processing.org/reference/split_.html
(be careful: all ";" characters will be considered as delimiters)
Page Index Toggle Pages: 1