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 

space replace with stringreplace

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



Joined: 08 Oct 2006
Posts: 67
Location: denmark

PostPosted: Tue May 20, 2008 12:31 pm    Post subject: space replace with stringreplace Reply with quote

I thought I was doing this right

StringReplace,ThisString,varText,%A_SPACE%,_, All
MsgBox %ThisString%


I'm trying to replace the spaces in varText which should only be single spaces with a _. But it does not seem to be working.
Back to top
View user's profile Send private message
pantagruel



Joined: 08 Oct 2006
Posts: 67
Location: denmark

PostPosted: Tue May 20, 2008 12:49 pm    Post subject: oops error elsewhere Reply with quote

sorry, the error was elsewhere
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