Check the program for its correctness


Private Sub btnDisplay_Click(...) Handles btnDisplay.Click

Dim name As String = "Terry Jones"

Abbreviate(name)

txtOutput.Text = name

End Sub

Sub Abbreviate(ByRef a As String)

Dim b As Integer = a.IndexOf("")

a = a.SubString(0, 1) & " . " & a.SubString(b + 1, 1) & "."

End Sub

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Check the program for its correctness
Reference No:- TGS0147139

Expected delivery within 24 Hours