Jump to content

extract letters from a word


Recommended Posts

i have a little question.

i have a couple of 100 words like this

abc123

abc456

abc789

...

What I like to do is create a autoIT script which can extract the numbers from the word.

So I want to delete abc and keep the numbers in a variable.

Is this possible? And if so, how can I do it?

I was searching in the help file for an extract command, but can't find anything.

Thanks for the i nfo

"You cannot solve a problem with the mind that created it" (Albert Einstein)

Link to comment
Share on other sites

i have a little question.

i have a couple of 100 words like this

abc123

abc456

abc789

...

What I like to do is create a autoIT script which can extract the numbers from the word.

So I want to delete abc and keep the numbers in a variable.

Is this possible? And if so, how can I do it?

I was searching in the help file for an extract command, but can't find anything.

Thanks for the i nfo

search for the StringTrimLeft fucntion:

Trims a number of characters from the left hand side of a string.

StringTrimLeft ( "string", count )

Parameters

string The string to evaluate.

count The number of characters to trim.

Return Value

Returns the string trimmed by count characters from the left.

Link to comment
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
 Share

  • Recently Browsing   0 members

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