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.
Page Index Toggle Pages: 1
split with tab (Read 1244 times)
split with tab
Aug 28th, 2009, 6:08pm
 
hi i have a txt file with columns separated with tabs , how can i specify the tab separation as the second argument for the split command?

thanks


Seb
Re: split with tab
Reply #1 - Aug 28th, 2009, 6:25pm
 
"\t"
Re: split with tab
Reply #2 - Aug 29th, 2009, 12:27am
 
TAB (which is just a variant of Cedric's version).
Processing defines these:
BACKSPACE 8   '\b'
TAB       9   '\t'
ENTER     10  '\n'
RETURN    13  '\r'
ESC       27  
DELETE    127    
Page Index Toggle Pages: 1