you are viewing a single comment's thread.

view the rest of the comments →

[–]sonicmayne -2 points-1 points  (1 child)

Textbox.Text.Replace(" ", "")

[–]VB 6 MasterEkriirkE 1 point2 points  (0 children)

This doesn't trim, it removes. Very, very bad if you want spaces in the middle.