vbscript-multiply

OPERATOR: &


Implemented in version 1.0

&

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

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.

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *