blizzedout Posted March 5, 2006 Share 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) Link to comment Share on other sites More sharing options...
Sokko Posted March 5, 2006 Share 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 Link to comment Share on other sites More sharing options...
Valuater Posted March 5, 2006 Share Posted March 5, 2006 (edited) if you are checking for a value ( number ) IsNumber( $Value ) 8) Edited March 5, 2006 by Valuater Link to comment Share on other sites More sharing options...
blizzedout Posted March 5, 2006 Author Share Posted March 5, 2006 If StringStripWS($string,8) = $string Then MsgBox(0,"Okay","$string does not contain any spaces")thanks man. Link to comment Share on other sites More sharing options...
blizzedout Posted March 5, 2006 Author Share 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) 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