blizzedout Posted March 5, 2006 Posted March 5, 2006 This possible? or how would I strip the spaces from the final value. $value = InputBox("Value", "Function Name", "", "", -1, -1, 0, 0)
Sokko Posted March 5, 2006 Posted March 5, 2006 (edited) If StringStripWS($string,8) = $string Then MsgBox(0,"Okay","$string does not contain any spaces") Edited March 5, 2006 by Sokko
Valuater Posted March 5, 2006 Posted March 5, 2006 (edited) if you are checking for a value ( number ) IsNumber( $Value ) 8) Edited March 5, 2006 by Valuater
blizzedout Posted March 5, 2006 Author Posted March 5, 2006 If StringStripWS($string,8) = $string Then MsgBox(0,"Okay","$string does not contain any spaces")thanks man.
blizzedout Posted March 5, 2006 Author Posted March 5, 2006 ok that for getting me rollin. Instead of that im gonna use this: $answer = InputBox("Question", "Function Name", "", "", -1, -1, 0, 0) $answer = StringReplace($answer , " ", "_") MsgBox(4096, "Test", "Your Function name is: " & $answer, 10)
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