condoman Posted March 27, 2004 Share Posted March 27, 2004 Is the following method the correct way to extract a string starting at some point and continuing to the end of the string? $sA="ABCDEF" $sB=StringMid($sA,4,StringLen($sA)) AutoIt wants the string out of bounds to do what other languages do by leaving the length parameter off. What is the correct way to do this? Keep up this great work. Link to comment Share on other sites More sharing options...
Developers Jos Posted March 27, 2004 Developers Share Posted March 27, 2004 its easier when you trim the first portion like: $sA="ABCDEF" $sB=StringTrimLeft($sA,4) SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
condoman Posted March 28, 2004 Author Share Posted March 28, 2004 Yup. Makes sense. Thanks 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