Removing all spaces in a string

前端 未结 4 661
无人及你
无人及你 2021-01-21 03:46

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

4条回答
  •  [愿得一人]
    2021-01-21 04:23

    I have used str=str.Replace(" ","") with great success.

    However, str=str.Replace(" ","") has not worked for me in the past.

提交回复
热议问题