( Trim ) method in vb.net
my code :
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim name As String
name = TextBox1.Text
Label2.Text = name.Trim & name
End Sub
End Class
--------------------------------------------------
input : sa ra
output : sara sarasara sara
true output shoud be like this :
sara
one word whithout any spase
how can i do it?
Last edited on
Please don't double post. I explained in the other thread.