Jump to content
Sign in to follow this  
NTBM

Find / replace

Recommended Posts

NTBM

i am populating a variable with a bunch of text, What i want to do is find any carriage returns and replace them with " @cr & "Newline:"

basically so wend i send the variale to notepad each line starts with the text "newline:"

any idea's ?

Currently i have my script pasting the variable to a word doc and then useing the word doc find/replace function to do the job, but as you can imagine that is a lot of send's and slows the whole process up a lot.

Share this post


Link to post
Share on other sites
SmOke_N

StringReplace


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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.