replace()
Java
2
Posts
2
Posters
4
Views
1
Watching
-
I have a string strValue = " 'one',two " I want to change the the value strValue to " 'one'+'two' " Can anybody help me?
Jo
according to documentation [^]
strValue = strValue.replace(',','+');
should do the trick. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]