Changes

Working with Strings in Visual Basic

334 bytes added, 19:42, 1 August 2007
Extracting Text from the Beginning of String
== Extracting Text from the Beginning of String ==
 
A portion from the beginning of a string can be extracted using the ''Microsoft.VisualBasic.Left()'' function. This function takes two paramaters, the string from which the text is to extracted and the number of characters to extract. For example, the following code extracts the word "This" from the "This is a test" string:
 
<pre>