You are currently viewing a search engine-friendly (archive) version of this page.
View Full Version : String replace
dins19
August 15, 2001, 11:02 am
Hi i am only just beginning in Java.
Suppose i want to replace '-->' with 'then', ':' with '==' and '-' with '&&' in the line below, how should i go about it??
A:B - Chttp://www.helpfromtechs.com/ubb/smilies/grin.gif - E:F --> L
If anyone could please help.
Techguy
September 6, 2001, 11:05 pm
sorry I am afraid cant help you, take a look here however, some of the pages may be of help: http://www.google.com/search?hl=en&safe=off&q=how+to+%22replace+a+string%22+in+java
------------------
Want to know what's going on at HFT? (http://www.helpfromtechs.com/html/newsletter.shtml)
MikeFoster
September 7, 2001, 12:54 am
Hi dins19,
I'm not too up on java syntax, but here's a link to the reference for java.lang.String (http://java.sun.com/products/jdk/1.1/docs/api/java.lang.String.html).
Thanks Techguy!
------------------
Tips for posting code in forums (http://www.helpfromtechs.com/ubb/Forum8/HTML/000107.html)
<FONT COLOR="#800080" SIZE="1" FACE="Verdana, Arial">This message has been edited by MikeFoster on September 06, 2001 at 09:59 PM</FONT>
vBulletin Copyright © Jelsoft Enterprises Ltd., 2000-2009.