borup Posted March 18, 2008 Share Posted March 18, 2008 Hi. I have a string called $STRIng = "241RH-ZPJ8S-24235-EC329-F2747" or somethimes $STRIng = "241RHZPJ8S24235EC329F2747" How do check for "-" remove them in the string?? /Thomas Link to comment Share on other sites More sharing options...
covaks Posted March 18, 2008 Share Posted March 18, 2008 StringReplace() $string = "241RH-ZPJ8S-24235-EC329-F2747" $string = StringReplace($string,"-","") msgbox(1,"",$string) Link to comment Share on other sites More sharing options...
borup Posted March 18, 2008 Author Share Posted March 18, 2008 Ohh THX Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now