My apologies, so maybe go through making a new string, you have used charAt yes?
String string = "string to check";
String outString = "";
for(int i = 0;i<string.length();i++) {
...
Type: Posts; User: Zula
My apologies, so maybe go through making a new string, you have used charAt yes?
String string = "string to check";
String outString = "";
for(int i = 0;i<string.length();i++) {
...
I am sorry to point out you are missing a step here, if you replaceAll "ie" with "ei", you are not following the outline of the assignment, it is only after a 'c',
So i would loop through looking...