Mega Code Archive

 
Categories / VB.Net / Data Types
 

Display the first part of a string

Imports System Public Class MainClass     Shared Sub Main()         'Display the first part of a string         System.Console.WriteLine("The length of the string in the TextBox is ".Substring(0, 12))     End Sub End Class