| View previous topic :: View next topic |
| Author |
Message |
cricketrulz Newbie
Joined: 07 Jul 2005 Posts: 10
|
Posted: Sep 3rd, 2005 01:01 AM Post subject: Can someone help me |
|
|
I want to know how to find and replace text from a larger text file.
If that doesn't make sence I'll try and re phrase what it want to do.
Firstly I want to find about 40 different charactors, and them replace them with another 40 charactors.
Hope it makes sence.
Thanks in advance |
|
| Back to top |
|
P.T.A.M. Administrator

Joined: 08 Oct 2003 Posts: 752 Location: Greece
|
Posted: Sep 3rd, 2005 10:35 AM Post subject: |
|
|
You can read the file and store it in a variable, then replace the characters and then write the file back. Which part of this do you need help with?  _________________ No one is completely useless. They can at least be an example of what to avoid. |
|
| Back to top |
|
cricketrulz Newbie
Joined: 07 Jul 2005 Posts: 10
|
Posted: Sep 3rd, 2005 05:09 PM Post subject: |
|
|
Basically the whole lot  |
|
| Back to top |
|
P.T.A.M. Administrator

Joined: 08 Oct 2003 Posts: 752 Location: Greece
|
Posted: Sep 4th, 2005 04:02 PM Post subject: |
|
|
To get started, this :
is what you need to manipulate files Try searching for that to get started  _________________ No one is completely useless. They can at least be an example of what to avoid. |
|
| Back to top |
|
cricketrulz Newbie
Joined: 07 Jul 2005 Posts: 10
|
Posted: Sep 12th, 2005 01:47 AM Post subject: |
|
|
| Quote: | To get started, this :
|
Ok lost already, i've tried searching for it but i get nowhere |
|
| Back to top |
|
watch4876 Newbie
Joined: 13 Dec 2005 Posts: 5
|
Posted: Dec 13th, 2005 07:30 PM Post subject: Good one |
|
|
| cricketrulz wrote: | | I want to know how to find and replace text from a larger text file. |
This is acctually a good idea, but I cant go along with it.. I'll PM you with my idea.  _________________ [new user link] [new user link] |
|
| Back to top |
|
|