so using the debugger... its going thru the letters correctly, the problem is it gets the left and it gets the right, but even though left == right is there, and if they aren't the same, it keeps...
Type: Posts; User: ryan.sampson
so using the debugger... its going thru the letters correctly, the problem is it gets the left and it gets the right, but even though left == right is there, and if they aren't the same, it keeps...
ok i'm moving forward... i got it to run all the way through.. but it now thinks that everything is a palindrone.. leading me to believe that it is skipping parts.. here is the updated code:
...
i've been working with the debugger for hours now..
i've changed it a bit but here is what i'm getting for a response:
Enter the text to be edited: atoyota
Edit: pal
Exception in thread...
should it be:
String str = "hello";
System.out.println(str);
I'm not sure how to use the advanced.. but here goes..
so this is the part that isn't correct:
} else if (function.equals("pal")){
text = palindrome(String text);
the other part is this:
if...
So I have this very simple program, it is designed to be a simple text editor. You type in a text, and you have a few options, including add words and replace words etc.. the one thing that i cannot...