All Operators
+ Operator
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.
Copyright 1999-2004 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information