[Help]String,Remove blanks[Solved]How would you remove a blank space from this line: Code: hello world! the line would be hello world!
Originally Posted by ppl2pass How would you remove a blank space from this line: Code: hello world! the line would be hello world! Suppose this is a string: Dim x as string = " hello world! " You just have to use Trim function. It will trim the extra (Un-needed) spaces. So final code will be: [php]Dim x as string = " hello world! " x=x.trim() [/php] Hope this helps !!!