Tipe data yang dihasilkan adalah integer.
Contoh:
Design UI
Code:
Private Sub Button1_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Button1.Click
Dim str As String
str = TextBox1.Text
MsgBox(str.Length)
End Sub
Runtime:
Click here if you like this article.
0 Comments