In my answer to How to use indexOf (int ch) in java I have a link to the String.indexOf(int, int) method in the Java API docs which isn't working correctly. The URL is correct. I suspect that the problem is that the URL has a space in it. How do I fix this?

-

## closed as too localized by kiamlaluno, jmort253, yhw42, Toon Krijthe, John SaundersSep 10 '12 at 1:11

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Works for me.... –  KDiTraglia Sep 9 '12 at 0:01
@KDiTraglia I guess I should clarify. Three of the links work fine. There's a fourth link that doesn't work. At least on my end, it shows the description and URL in the answer. –  Code-Guru Sep 9 '12 at 0:04

The reason was indeed the space in the URL. Replacing that with %20 made it work.