Sign in to follow this  
Followers 0
tutor2000

Parsing the clipboard for subject:

3 posts in this topic

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


Only $2.00 with Resale Rights How to Block Better for Martial Artists and NonMartial Artistshttp://kirkhamsebooks.com/MartialArts/Bloc...tterEbook_m.htm

Share this post


Link to post
Share on other sites



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)

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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


Only $2.00 with Resale Rights How to Block Better for Martial Artists and NonMartial Artistshttp://kirkhamsebooks.com/MartialArts/Bloc...tterEbook_m.htm

Share this post


Link to post
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
Sign in to follow this  
Followers 0