This is the problem: while(str At(i)==ch) That will keep going until it falls off the end.. Strings are immutable in Java - substring returns a new string I think you want: str = str.. They're always going to have the same value, after all Personally I'd just use one variable, declared and initialized inside the loop.. Characters Most of the time, if you are using a single character value The Java compiler will also create a Character object for you under some circumstances. Fast Dvd Copy For Mac

This is the problem: while(str At(i)==ch) That will keep going until it falls off the end.. Strings are immutable in Java - substring returns a new string I think you want: str = str.. They're always going to have the same value, after all Personally I'd just use one variable, declared and initialized inside the loop.. Characters Most of the time, if you are using a single character value The Java compiler will also create a Character object for you under some circumstances. 518b7cbc7d Fast Dvd Copy For Mac

Download Free Software Character Counting Java Program

Cara Download Film Amazing Spiderman 2

You probably want: while (i < str At(i) == ch) You also need to set count to 0 at the start of each iteration of the bigger loop - the count resets, after all - and changecount = count i. Installbuilder For Mac

Fast Dvd Copy For Mac

Download Free Software Character Counting Java Program