
-----------------------------------
gigaman
Mon Nov 12, 2007 11:22 am

Two problems both with strings
-----------------------------------
I'm having two problems writing a program in java, both of which i'm sure have very simple solutions. the first is the the following for loop will not retrieve the character information from my variable temp. Trying to compile gives me an error saying 
Error: C:\Users\Matt\Java\Spy.java:78: incompatible types
found   : int
required: java.lang.String

Basically I need to take the characters in string temp and rearrange them, temp if a very long string and the characters are rearranged in sections 6 characters long. len is the integer length of temp/6, there is code after to rarrange the remaining section of text.

for (int i = 0; i 