Mega Code Archive

 
Categories / VB.Net Tutorial / Data Type
 

String handling function

Module Tester     Public Sub Main()         Dim sHello As String = "Hello World"         Console.WriteLine("Original string: {0}", sHello)         Console.WriteLine("Length of string (Len(sHello)): {0}", Len(sHello))     End Sub End Module Original string: Hello World Length of string (Len(sHello)): 11