My Text Box has "123 456 7890"
How can I get "1234567890"
Just want to get rid of spaces
Thanks in advance
Printable View
My Text Box has "123 456 7890"
How can I get "1234567890"
Just want to get rid of spaces
Thanks in advance
oldstring = "123 456 789"
newstring = Replace(oldstring, " ", "")
VB Code:
Text1.Text = Replace(Text1.Text, " ", vbNullString)
:)
Thank you guys
I win!
:D :D
Both of you were same so ask 747, who won:D
My post appeared first!
*Abdul hands in a plastic trophy to TiPeRa*:D
who really cares? The question was answered.
:)
Maybe, TiPeRa cares:D
Thanks, I'd like to thank my friends, my family, 747 for asking the question, crptcblade for providing some competition and abdul for providing the trophy. *sob sob*