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 & HelpSyntax Questions › How to convert loaded String Array to int?
Page Index Toggle Pages: 1
How to convert loaded String Array to int??? (Read 1103 times)
How to convert loaded String Array to int???
May 20th, 2010, 11:19am
 
Hi,
I just want to know how can i convert loaded String array to int???

like i have loaded this:-

lines = loadStrings("test.txt");

test.txt contains any integer, i want to convert this string to integer so that i can use it in switch cases or any other conditional statement...

Thanks in advance.
Re: How to convert loaded String Array to int???
Reply #1 - May 20th, 2010, 11:20am
 
search, we just had the same question some hours ago...
Re: How to convert loaded String Array to int???
Reply #2 - May 20th, 2010, 12:40pm
 
Hints: the thread is still visible in the same forum section and has string and int in the title (and csv too...).
Page Index Toggle Pages: 1