| View previous topic :: View next topic |
| Author |
Message |
Mupolan
Joined: 30 May 2006 Posts: 101
|
How do i replace all character 'ы' with 'u' in a String?
Str.replace('ы', 'u');
Does nothing.. |
| |
|
|
|
|
AmeliaR
Joined: 31 May 2006 Posts: 142
|
Does nothingпјџ
Paste your code |
| |
|
|
Poolkop
Joined: 01 Jun 2006 Posts: 123
|
| HS^, You cannot change a String. |
| |
|
|
AmeliaR
Joined: 31 May 2006 Posts: 142
|
| Str = str.replace |
| |
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
| String s = myString.replaceAll('ы', 'u'); |
| |
|
|
Mupolan
Joined: 30 May 2006 Posts: 101
|
I dont understand this:
Java.io.IOException: Server returned HTTP response code: 400 for URL:
The url looks fine to me:s |
| |
|
|
froomzer
Joined: 23 May 2006 Posts: 148
|
| Maybe the space characters need to be escaped |
| |
|
|
Mupolan
Joined: 30 May 2006 Posts: 101
|
But other urls that looks the same work.. like for example:
Hmm i see the problem |
| |
|
|
Poolkop
Joined: 01 Jun 2006 Posts: 123
|
| HS^, Space, the final frontier. |
| |
|
|
Mupolan
Joined: 30 May 2006 Posts: 101
|
| How do i escape a space? |
| |
|
|
Poolkop
Joined: 01 Jun 2006 Posts: 123
|
| %20 |
| |
|
|
|
|
Mupolan
Joined: 30 May 2006 Posts: 101
|
In the browser it puts %20 or something
I just replace spaces with %20 |
| |
|
|
|