StringReplace, OutputVar, InputVar, SearchText [, ReplaceText, ReplaceAll?]
oldstr = hello world
MsgBox oldstr is %oldstr%
StringReplace newstr, oldstr, world, ahk
MsgBox newstr is %newstr%
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |