VB.Net Strings.Left()

Left(ByVal str As String, ByVal Length As Integer) As String
Returns a string containing a specified number of characters from the left side of a string.

Return Values :
Returns a string containing a specified number of characters from the left side of a string.


Ex : 

Strings.Left("vbcodesblog", 7) returns vbcodes


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


When you execute this code, you will get vbcodes in the MessageBox
Anda baru saja membaca artikel yang berkategori VB.Net dengan judul VB.Net Strings.Left(). Anda bisa bookmark halaman ini dengan URL http://vbcodesblog.blogspot.com/2010/04/vbnet-stringsleft.html. Terima kasih!
Ditulis oleh: Farray Cool - Thursday, April 08, 2010

Belum ada komentar untuk "VB.Net Strings.Left()"

Post a Comment