Jump to content

Recommended Posts

Posted

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

  • Developers
Posted

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.
  :)

Posted

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

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
×
×
  • Create New...