Guest nait Posted June 4, 2005 Posted June 4, 2005 (edited) hi! i dont know how i can strip a "." from a string where there are except the dots only digits in it.I get the string from the clipboard. I tried $Var = ClipGet() $VarC= StringStripCR ( $Var & Chr(046)) but when i test it with MsgBox(0, "VarC is:", $VarC) it doent work. Edited June 4, 2005 by nait
GaryFrost Posted June 4, 2005 Posted June 4, 2005 Not sure if this is what your talking about: $string = "123.44" $string = StringReplace($string,".","") MsgBox(0,"test",$string) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
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