Get a string value from a GUI, match to a Int[]

Joined
Jul 17, 2010
Messages
1
Reaction score
0
I'm not sure if this is possible but if it is could someone give me method or maybe an alternative to use.

I have a script that needs to get a value from the user through a GUI. I have pre-set int[]'s that contain values that the script needs to run. The GUI method I use returns the options from a scroll menu as a string value. I need a way to turn the string value into the corresponding int[]

Basically is there a method to turn a string into a int[].
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,787
Messages
2,569,629
Members
45,329
Latest member
InezZ76898

Latest Threads

Top