Progress Monitor for IdealProgrammer.com
Take Swift, Intelligent, Massive, Planned, Loving, Effective (S.I.M.P.L.E.) Action to Transform Self into Ideal
Skip Repetitive Navigational Links
Home
News
Presenters
Register
Contact
Categories
Titles
Converter
Code Samples
C# ASP.NET
C# Console
HTML
JavaScript
SQL Server
VB ASP.NET
VB Console
Please login
VB.NET LTrim()
Description:
Illustrates using VB.NET LTrim() Code Example.
Example Class:
Public Class clsLTrim Public Sub Main() '**************************************************************************************** ' Example #1: LTrim(value) - Returns a string with leading spaces removed. '**************************************************************************************** Console.WriteLine("Example #1: LTrim(value) ") Dim strField As String = " This " Console.WriteLine("[" + LTrim(strField) + "]") 'Returns [This ] with leading spaces removed 'write blank line to make output easier to read Console.WriteLine() 'Prevent console from closing before you press enter Console.ReadLine() End Sub End Class
Example Module:
Module Module1 Sub Main() Dim myclsLTrim As New clsLTrim myclsLTrim.Main() End Sub End Module
Home
News
Presenters
Register
Contact
Categories
Titles
Converter
Code Samples
C# ASP.NET
C# Console
HTML
JavaScript
SQL Server
VB ASP.NET
VB Console