AutoHotkey – 文字列の連結方法

v2の場合カンマかスペースで文字列の連結ができます。

text1 := "sample"
text2 := " "
text3 := "text"

result := text1 . text2 . text3

結果

sample text

その他にもスペースでも連結ができます。結果は上と同じ。

text1 := "sample"
text2 := " "
text3 := "text"

result := text1 text2 text3