Info Posted February 21, 2010 Share Posted February 21, 2010 $s = "ab" $s = StringReplace($s, "a", "b") $s = StringReplace($s, "b", "a") MsgBox(0, "", $s) I want 'a' to turn into 'b' and 'b' to turn into 'a' so the result should be "ba". How can I do that? Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now