Is there any function in vb.net that removes all spaces in a string. I mean a string like \' What is this\' should be \'Whatisthis\'
Thanks Furqan
Using String.Replace:
String.Replace
Dim Test As String = "Hello Hi" Test = Test.Replace(" ", String.Empty)