Jump to content

Recommended Posts

Posted

@daashag,

You are welcome.

StringStripWS ($aArray[0],1)

Removes the "white space" from the front of the path.

StringStripWS ($aArray[0],2)

Removes the "white space" from the end of the path.

StringStripWS ($aArray[0],3)

Removes the "white space" from both ends of the path.

I should have noticed from your post of the "AutoIt Window Info" tool.

If the path was displayed on a separate line in that tool,

then there had to be a CR or CRLF after "001"

and there had to be a CR or CRLF after the path.

If we tell _StringBetween to return everything between '001' and 'TROON', it does just that - including whatever form of line returns your app is using.

I've never worked with _StringBetween before...

Thanks for the opportunity to learn about another of SmOke_N's fine UDF's.

Glad that it helped you out too.

I PM'd piccaso to come to my aid while I was stuck on this...

@piccaso,

Thanks for coming to the thread.

[size="1"][font="Arial"].[u].[/u][/font][/size]

  • 3 months later...
Posted

Please i need still a help:

I ave more same strings within a file,how delete all doubles ?

Tank

I would suggest that you open a new topic in the support forum and post a sample of the text that you are dealing with and a sample of what you want the text to look like after the script runs - or a sample of the text that you want the script to pull out of the starting text.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Posted

I would suggest that you open a new topic in the support forum and post a sample of the text that you are dealing with and a sample of what you want the text to look like after the script runs - or a sample of the text that you want the script to pull out of the starting text.

Tank you

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...