Find text in %Text Variable%

General Macro Scheduler discussion

Moderators: JRL, Dorian (MJT support)

Post Reply
Dimmak
Junior Coder
Posts: 25
Joined: Tue Jan 24, 2012 4:57 pm

Find text in %Text Variable%

Post by Dimmak » Wed Jan 25, 2012 7:05 pm

Please Help!
Let>Text Variable= one two three
"two" present in %Text Variable% or not

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Jan 25, 2012 7:51 pm

Code: Select all

Let>TextVar=one two three
Position>two,TextVar,1,p
If>p>0
  //two is in TextVar (starting at position p)
Endif
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Dimmak
Junior Coder
Posts: 25
Joined: Tue Jan 24, 2012 4:57 pm

Post by Dimmak » Wed Jan 25, 2012 8:00 pm

Thanx Marcus :)

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts