VB.NET String Length()

Public ReadOnly Property Length() As Integer
Gets the number of characters in this instance.

Return Values :
The number of characters in this instance.

Ex : 

"vbcodesblog".Length returns 11


 Public Class Form1
    Private Sub Button1_Click(ByVal sender As System.Object, _
    ByVal e As System.EventArgs) Handles Button1.Click
        MsgBox("vbcodesblog".Length)
    End Sub
 End Class


When you execute this code, you will get 11 in the MessageBox
Anda baru saja membaca artikel yang berkategori VB.Net dengan judul VB.NET String Length(). Anda bisa bookmark halaman ini dengan URL http://vbcodesblog.blogspot.com/2010/04/vbnet-strings-length.html. Terima kasih!
Ditulis oleh: Farray Cool - Friday, April 09, 2010

Belum ada komentar untuk "VB.NET String Length()"

Post a Comment