|
-
Nov 29th, 2004, 12:34 PM
#1
Thread Starter
Addicted Member
How do I....
How do i search a string for a certain word, then replace that word with something else.
For example:
String sentance="This is an example";
String searchword="is";
String replaceword="was";
What I need to do is be able to search sentance for the string "is" and replace it with the string "was"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|