Operator + (String Concatenation)

Concatenates two strings

Syntax
	KeyPgDeclareDeclare KeyPgOperatorOperator + ( KeyPgByrefByRef lhs KeyPgAsAs KeyPgStringString, KeyPgByrefByRef rhs KeyPgAsAs KeyPgStringString ) KeyPgAsAs KeyPgStringString
	KeyPgDeclareDeclare KeyPgOperatorOperator + ( KeyPgByrefByRef lhs KeyPgAsAs KeyPgZstringZString, KeyPgByrefByRef rhs KeyPgAsAs KeyPgZstringZString ) KeyPgAsAs 
	KeyPgZstringZString
	KeyPgDeclareDeclare KeyPgOperatorOperator + ( KeyPgByrefByRef lhs KeyPgAsAs KeyPgWstringWString, KeyPgByrefByRef rhs KeyPgAsAs KeyPgWstringWString ) KeyPgAsAs 
	KeyPgWstringWString

Usage
	result = lhs + rhs

Parameters
	lhs
		The left-hand side string to concatenate.
	rhs
		The right-hand side string to concatenate.

Description
	This operator concatenates two strings.  Unlike 
	KeyPgOpConcatConvertOperator & (String Concatenation With Conversion) both expressions must 
	be strings, and may not be converted (in fact, any attempt to 
	concatenate a string with a non-string or two non-strings will result in 
	a type mismatch error, with the exception of when operator overloading 
	is used in a UDT).

Example
	Dim As String a = "Hello, ", b = "World!"
	Dim As String c
	c = a + b
	Print c

Output:

	Hello, World!

Differences from QB
	* None

See also
	* KeyPgOpAddOperator + (Add)
	* KeyPgOpConcatConvertOperator & (String Concatenation With Conversion)
	* KeyPgStrStr

