This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I am having problems with an assignment where I have to remove a substring from a string. I know I have to make a loop to go through the String, use substring() to remove the substring, indexOf() to find the index to end and resume the String, and an if / else statement to tell whether or not to remove the substring. The problem I am having having my String produce output in the console. When I run my program I can't get the text to show up.
Edit: Found the solution to my problem. Here is my final code: