Steven Vandenhoute Posted October 9, 2007 Share Posted October 9, 2007 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 More sharing options...
pinkfoyd Posted October 9, 2007 Share Posted October 9, 2007 i have a little question.i have a couple of 100 words like thisabc123abc456abc789...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 nfosearch for the StringTrimLeft fucntion:Trims a number of characters from the left hand side of a string.StringTrimLeft ( "string", count ) Parametersstring The string to evaluate. count The number of characters to trim. Return ValueReturns the string trimmed by count characters from the left. Link to comment Share on other sites More sharing options...
Steven Vandenhoute Posted October 9, 2007 Author Share Posted October 9, 2007 thanks for the info... helps me a lot "You cannot solve a problem with the mind that created it" (Albert Einstein) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now