AutoHotkey Community

It is currently May 27th, 2012, 12:30 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: September 2nd, 2005, 1:10 pm 
Might have been requested already :roll:
StringReplace able to deal with expressions ?

Sample:
Code:
StringReplace, OutputVar, InputVar, ("nuts" AND "funny" AND "sexy"), BoBo, All
8)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 2nd, 2005, 1:30 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Although I don't think StringReplace can be extended that way without breaking existing scripts, there might be a new command or function someday to do this.

Thanks for the idea.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 6th, 2005, 1:33 pm 
Offline

Joined: June 16th, 2005, 12:23 pm
Posts: 92
Quote:
able to deal with expressions


You could use a replace with regular expressions or even an embedded Perl script. The latter makes this sort of thing almost trivial.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group