Returns a string containing a copy of a specified string with no leading spaces (LTrim), no trailing spaces (RTrim), or no leading or trailing spaces (Trim).
Return Values :
Returns a string containing a copy of a specified string with no leading spaces (LTrim), no trailing spaces (RTrim), or no leading or trailing spaces (Trim).
Ex :
Strings.LTrim(" vbcodesblog") returns vbcodesblog
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Button1.Click
MsgBox(Strings.LTrim(" vbcodesblog"))
End Sub
End Class
When you execute this code, you will get vbcodesblog in the MessageBox
Anda baru saja membaca artikel yang berkategori VB.Net
dengan judul VB.Net Strings.LTrim(). Anda bisa bookmark halaman ini dengan URL http://vbcodesblog.blogspot.com/2011/04/vbnet-stringsltrim.html. Terima kasih!
Ditulis oleh:
Farray Cool - Wednesday, April 07, 2010
Belum ada komentar untuk "VB.Net Strings.LTrim()"
Post a Comment