Jump to content
Sign in to follow this  
alawoona

Extract Substrings

Recommended Posts

alawoona

Struggling with coding this problem in an elegant manner :

I have a large text file from which I want to extract certain strings. Each string will start immediately after the characters "Clip=" and then end at the character before the next ' (single quote character). There will be a number of these strings within the text file, don't know how many, the string length is variable.

Big thank you if you can help.

Share this post


Link to post
Share on other sites
alawoona

No carriage returns between "Clip=" and the single quote

There are carriage return in the file though.

Edited by alawoona

Share this post


Link to post
Share on other sites
alawoona

Thanks Larry - i missed the StingInStr function reading the help file. Am using the script already.----works well.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.