What kind of different with "+" and "&"?

Uipathのセレクタやassignアクティビティ等で変数の接続によく+や&を使うのですが、どのような違いがあるんでしょうか?

イメージとしては以下のようになります。
“AAAAA” + variable.tostring + “BB”
“AAAAA” & variable.tostring & “BB”

@tomo007

Both will be used for concatenate two strings.

1 Like

Is there no difference in using “+” and “&”??

1 Like

@tomo007

Yes. Both will concatenate two strings and will give same result.

Are you facing any issue ?

こんにちは

本質的には違いはありませんが、厳密には以下が参考になるかと。

1 Like

なるほど!そういう違いがあったんですね。