VBScript » Operators » &

Version: 1.0

Syntax:

The & operator is the preferred operator for concatenating strings. However, the + operator may also be used for concatenation.

Examples

Code:
<% cheese=" is made of blue cheese." %>
<% sentence="The moon" & cheese & " Mice like blue cheese." %>
Output:
The moon is made of blue cheese. Mice like blue cheese.
Language(s): VBScript

See Also: