I'm trying to pass in a string into my applet (not really an applet specific question) that is delimited by (let's say tilde ~). How can I easily split that string up and assign it to an int array? Any suggestions would be appreciated. Various approaches would be interesting to see as well. Thanks.
No. You can split the String easily; if you go through the String class, you will find methods which split easily. But each member of that array has to be parsed to an int; you can't cast or reassign it.