Jump to content

Recommended Posts

Posted (edited)

Hello, I am new to autoit still and I have been working hard trying to understand the copy logic.

I understand how line copy from txt works.

But here's my question

# Randomname/Randomname A 97.4 1.044 B 97.4 1.044 + 0.000 D/V

My goal is to copy only the middle of the line which is "B 97.4 1.044"

I have no clue on which function or logic to use to achieve that.

Can someone help me in guiding me for a direction that I could take in order to implement that please?

Or maybe provide some example code?

Any suggestion would be greatly appreciated, thank you.

Edited by brokenjade4ever
Posted

$var = StringMid("# Randomname/Randomname A 97.4 1.044 B 97.4 1.044 + 0.000 D/V", 37, 12)
MsgBox(0, "Extracted Text", $var)


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

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...