borup Posted March 18, 2008 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
covaks Posted March 18, 2008 Posted March 18, 2008 StringReplace() $string = "241RH-ZPJ8S-24235-EC329-F2747" $string = StringReplace($string,"-","") msgbox(1,"",$string)
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