254,269 views
17 votes
17 votes
write a visual basic program to delete first character from the string every time when clicking on the command delete. using function.

User Ydhem
by
2.6k points

1 Answer

13 votes
13 votes

Answer:

Private Sub Command1_Click()

Dim str As String

str = Text1.Text

str = Mid(str, 2)

Text1.Text = str

End Sub

Step-by-step explanation:

User Andrew Kozin
by
3.6k points