Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Public Class frmStringMethods
- Private Sub btnEnter_Click(sender As System.Object, e As System.EventArgs) Handles btnEnter.Click
- Dim userInput As String
- Dim secondInput As String
- Dim beforeInput As String
- userInput = txtInput.Text.Split("/")(1).Substring(0, 1)
- secondInput = txtInput.Text.Split("/")(2)
- beforeInput = txtInput.Text.Split("/")(0)
- lblDisplay.Text = userInput
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement