ASP Best Practices

Previous Topic Next Topic

String Concatenation

For the sake of consistency and to achieve the intended interpretation, use the string concatenator (&) instead of a plus (+) sign in VBScript strings.

Instead of this:

WholeName = FirstName + " " + LastName

do this:

WholeName = FirstName & " " & LastName

© 1997-1999 Microsoft Corporation. All rights reserved.