175k views
5 votes
write a visual basic program to delete first character from the string every time when clicking on the command delete. using function.

1 Answer

3 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 Dillanm
by
3.7k points