Tipe data yang dihasilkan adalah string.
Formula:
Remove(startIndex As Integer, count As Integer)
startIndex = index awal posisi karakter akan di remove
count= jumlah karakter yang akan di remove
Contoh:
Private Sub Button1_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Button1.Click
Dim strName As String = "Rani Noviani Irsan"
strName = strName.Remove(5, 8)
MsgBox(strName)
End Sub
Click here if you like this article.
0 Comments