redho home | products | services
Web Design Forums

Web Design Forums  


Web Hosting, Web Design, Software and Web Development Forums  
 FAQFAQ   MemberlistArchive  Log inLog in   RegisterRegister 
         

how to replace characters in a string


Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    Web Design Forums -> JAVA programming forum
View previous topic :: View next topic  
Author Message
autos06



Joined: 13 May 2006
Posts: 123
Location: New York
But other urls that looks the same work..
Hmm i see the problem
  Reply with quote


Klimapol



Joined: 27 May 2006
Posts: 134
HS^, space, the final frontier.
  Reply with quote
autos06



Joined: 13 May 2006
Posts: 123
Location: New York
How do i escape a space?
  Reply with quote
Klimapol



Joined: 27 May 2006
Posts: 134
%20
  Reply with quote
autos06



Joined: 13 May 2006
Posts: 123
Location: New York
I the browser it puts %20 or something
Ok
I just replace spaces wiht %20
  Reply with quote
Klimapol



Joined: 27 May 2006
Posts: 134
~javadoc URLEncoder
  Reply with quote
montanarry



Joined: 13 May 2006
Posts: 175
Klimapol, please see java.net.URLEncoder: http://java.sun.com/j2se/1.5.0/docs/api/java/net/URLEncoder.html
  Reply with quote
Poolkop



Joined: 01 Jun 2006
Posts: 123
You can use either %20 or +
  Reply with quote
autos06



Joined: 13 May 2006
Posts: 123
Location: New York
"The space character " " is converted into a plus sign "+". "
Ok
  Reply with quote
Klimapol



Joined: 27 May 2006
Posts: 134
Poolkop, I forget that. ;)
  Reply with quote
Page 2 of 4 Goto page Previous  1, 2, 3, 4  Next
Post new topic   Reply to topic    Web Design Forums -> JAVA programming forum


Dubai Forums - Expat Help | Vegan Chat | Java Programming | Free 3D tutorials and 3d textures | Paris Forum | EU Forum
Free Dubai Classifieds | Free London Classifieds | Jobs in London

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Powered by phpBB © 2001, 2005 phpBB Group