|
-
Oct 22nd, 2002, 05:07 PM
#1
Thread Starter
Junior Member
How to Convert "TEXT" to TEXT? Remove the quotations?
I have a text file that I load into a list box(seems easier to search and use index to reference items in list).
It starts out like this:
begin general_information
  name "Example"
  designer "Steve McNally"
I need to get rid of the quotation marks from both sides of the word "Example" and "Steve McNally".
I can get rid of the mark on the left with Mid (String)
txtName = Mid(List2.List(1), 9) wich produces: Example"
txtDesigner = Mid(List2.List(2), 13)  produces: Steve McNally"
I've tried mixing the Mid function with the Left and the Right functions, but get odd results like: ample""Ex
Then, I'm going to print it back to a text file, but I'll be able to Print the " " back around them no problem.
I'd appreciate any help. I'm still kind of a novice so, if you could just paste some code please.
Ian
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
|