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
You could use String.Replace:
Dim str As String = " What is this" str = str.Replace(" ", "")