Tipe data yang dihasilkan adalah string.
Formula:
String("char"c, times)
char= karakter untuk diulang
times= jumlah perulangan
Contoh:
Private Sub Button1_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Button1.Click
Dim txt As New String("A"c, 7)
MsgBox(txt)
End Sub
Click here if you like this article.
0 Comments