Newsgroups: microsoft.public.scripting.vbscript
From: "Al Dunbar" <aland...@hotmail.com>
Date: Mon, 16 Nov 2009 20:48:10 -0700
Local: Tues, Nov 17 2009 3:48 am
Subject: Re: Remove extra Double codes from CSV Files (vb Script Language)
news:C072F055-9B82-4D2D-A4D2-216403F47814@microsoft.com...
> On daily bases I have received files with double quotes comma separated, The rubbish line looks like exactly that. the first paired double quotes are > but > in some records I found 2 times double quotes and some time different > squence > of double quotes placements. > I just want to remove all unnecessary (extra) double quotes (see the > "0123x",""Company D-Val"","Class D, sector N","DD5894" not matched by another such pair. In the context of your data, what does it mean to have a doubled double-quote? > I am looking the output like that. > "0123x","Company D-Val","Class D, sector N","DD5894" > Following code i used is work fine with ""Company D-Val"" but didn't work > code:- quote. Perhaps you just need to change each pair of double quotes with a single /Al > outFile.WriteLine record & vbclrf
> Loop You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||