answersLogoWhite

0

A string is a line of text.

For example:

Dim example As String = "whatever text you want"

Would make a string that says "whatever text you want"

Later, you can use this for a msgbox or textbox

Example:

TextBox1.Text = example '(that is the string we made)

or

MsgBox(example, MsgBoxStyle.Information, "Note!") '(would display a msgbox containing the text in the string)

What else can I help you with?

Related Questions

What function are used for string length in visual basic?

string length is a function use to check the lenght of a string i.e number of alphabets in a word or sentence.


What is trunicate?

Trunicate is when you trim a string in visual basic


What is the puporse of using Val function in Visual basic 6.0?

Val() function is used in Visual Basic 6.0 to convert a string to a numeric value (such as integer, double etc.) or to extract a numeric value out of a string, as illustrated below.Val function as used to convert a string to a numeric valuefor example, let str be a string,Dim str as stringDim int as integerstr="09090"int=val(str)gives int = 9090also, used to extract the numeric part out of a following string,ie. a=val("98ASR_tyui") would give a=98however,b=val("The89")would give b=0 as there is no numeric value preceding the string.


What is a function procedure in Visual Basic?

A function is essentially a subroutine that is ment to be used by other subroutines.


What function in Visual Basic will return a date from a computer?

(it used to be) DATE$


What is the correct coding for converting a string to a double in visual basic 2010?

Dim i as double = CDbl("12")


In Visual Basic how do you place a tab into a string with the and sign?

In visual Basic, the tab character has several representations:ChrW(9)vbTabControlChars.TabConvert.ToChar(Keys.Tab)Of these, the last is supported by all .NET languages (including C# where '\t' can also be used).To insert a tab into a Visual Basic string:Dim text As String = "abc"text.Insert (1, vbTab)To insert an ampersand, use the character literal '&':text.Insert (2, '&');


What is rounding in Visual Basic?

Rounding in Visual Basic is the method of rounding an integer up, or flooring an integer, which is rounding down. To round up, you use the System.Math.Round function. To round down, or floor, you use the System.Math.Floor function.


What is visual basic control?

Visual Basic Controls work on Visual Studio for Visual Basic and Applications that made by Visual Basic.


How do you get square root in Microsoft visual basic?

The function is Sqr() in VB6 and Math.Sqr() in .NET.


The year of invention of visual basic?

Visual Basic was started in 1991.


Who invented the visual basic?

Visual Basic was created by a team at Microsoft.