What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 127 Stack Exchange communities.

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?

share|improve this question

closed as too localized by kiamlaluno, jmort253, yhw42, Toon Krijthe, John Saunders Sep 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
add comment

1 Answer

up vote 6 down vote accepted

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

share|improve this answer
    
I just saw your edit. Thanks! –  Code-Guru Sep 9 '12 at 0:08
add comment

Not the answer you're looking for? Browse other questions tagged .