|
-
Feb 2nd, 2000, 10:48 PM
#4
Thread Starter
New Member
Originally posted by Paul282:
The mid() function can be a little combersome for lots of replacements especially if you're replacing the same text (like in a multi find replace program )
read to a string then use the replace function.
FileString = Replace(FileString, OldText, NewText)
For some reason this function is not that well known
When writing FileString back to the document, double quotes are added to the start and end of the string. The double quotes are not in the string to start with.
Take the words NEW DATA. When I write it back, it comes out "NEW DATA". If I replace in the string the Quotes with nothing it does not get rid of the quotes because they are not really in the string.
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
|