Avatar of ferrarista
 asked on

vbscript - detect word

Hi guys,

I have a csv file that has three words within quotes and separated by coma.

"word1", "word2", "word3".

these words can have different lenghts, but I need to retrieve the third one, without the quotes.
I have already identified the correct line (because the csv file could have many lines), but once I identify the line containing the word I need (which is actually the first one), I need to collect the third one. Do I need a regular expression ?
How could I accomplish that ?

VB Script

Avatar of undefined
Last Comment
Shums Faruk

8/22/2022 - Mon
Shums Faruk

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

But I'm using a plain text file, not excel.... would that work ?
Shums Faruk

Open csv in Excel. change the cell and save it. Then re-open in text file, that will be gone.
Shums Faruk

No comment has been added to this question in more than 14 days, so it is now classified as abandoned.
Your help has saved me hundreds of hours of internet surfing.