tutor2000 Posted May 30, 2004 Share Posted May 30, 2004 If I have an email in the clipboard and want to parse for the word subject and the next 10 characters after that, how can I do that since it's all one big variable which means I cannot use filereadline Rick Link to comment Share on other sites More sharing options...
Developers Jos Posted May 30, 2004 Developers Share Posted May 30, 2004 Do you mean something like this : $text = ClipGet() $text = " kjka kj dkaj try Subject1234567890 aksjhd ahsd asjhd ajsh as a " ; in here for testing it $text = StringTrimLeft($text,StringInStr($text,"Subject")-1) $text = StringLeft($text,17) msgbox(0,'test',$text) 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...
tutor2000 Posted May 30, 2004 Author Share Posted May 30, 2004 Do you mean something like this : $text = ClipGet() $text = " kjka kj dkaj try Subject1234567890 aksjhd ahsd asjhd ajsh as a "; in here for testing it $text = StringTrimLeft($text,StringInStr($text,"Subject")-1) $text = StringLeft($text,17) msgbox(0,'test',$text)Man that was fast and it worked to thanks you're a genius Rick 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