Get the App
SLTechnology News&Howtos  ›  Development  › 

The function of concatenation operator (& ) in VBS

Shulou Source: shulou.com Published: 2022-06-03 19:37:43 11月12日 Update

This article mainly introduces "the function of join operator (&) in VBS". In daily operation, I believe that many people have doubts about the function of join operator (&) in VBS. Xiaobian consulted all kinds of data and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "the function of join operator (&) in VBS". Next, please follow the editor to study!

Forces two expressions to be string concatenated.

Result = expression1 & expression2

Parameter result

Any variable.

Expression1

Any expression.

Expression2

Any expression.

Description

When any expression is not a string, it is converted to a String subtype. If both expressions are Null,result and Null. However, if only one expression is Null, it is treated as a zero-length string ("") when concatenated with other expressions. Any expression that is Empty is also treated as a zero-length string.

At this point, the study of "the role of the concatenation operator (&) in VBS" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Tags: Expressions actions operators operations characters strings learning two more length processing help utility next parameters variables articles methods theory knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Shulou Information MariaDB NVidia Huawei