AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Is there any way to use an asterisk * in a string?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
sublimation9



Joined: 29 Feb 2008
Posts: 6

PostPosted: Fri Feb 29, 2008 11:02 pm    Post subject: Is there any way to use an asterisk * in a string? Reply with quote

Without it being interpreted as a wildcard?

I've tried just using it with the escape key, both slashes, single and double quotes, etc. I have a lot of text files where I need to remove the asterisks from within. Am I missing something or can it not be done?

thanks
Back to top
View user's profile Send private message
Erittaf



Joined: 03 Nov 2007
Posts: 182

PostPosted: Fri Feb 29, 2008 11:11 pm    Post subject: Reply with quote

Is there any way to use an asterisk * in a string?

with
Code:
StringReplace, clipboard, clipboard, *, , All
makes

Is there any way to use an asterisk in a string?
Back to top
View user's profile Send private message Send e-mail
sublimation9



Joined: 29 Feb 2008
Posts: 6

PostPosted: Fri Feb 29, 2008 11:20 pm    Post subject: Reply with quote

Excellent. Thank you very much. I've been using RegExReplace() so much I didn't even think of the string ones.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group