For example, the following expression uses the "+" symbol as the concatenation operator:
print "Hello " + "World";
Different languages use different operators. Most languages use the plus sign ("+") though several deviate from this norm.
|&||ampersand||Ada, AppleScript, VHDL, Visual Basic|
|.||dot||Perl (before version 6), PHP|
|||||double vertical bar||REXX, SQL, Icon|
|$+||dollar plus||mIRC Scripting Language|
For a more detailed comparison, please see the concatenation comparison article.
For example, in PHP and Perl:
Both examples produce the same result.
For example, in Perl, the concatenation syntax:
can be substituted with the string literal syntax:
Wipo Publishes Patent of Huawei Technologies, Shengjin Xiao, Wei Li and Tianhui Zeng for "Cell Concatenation Processing Method and Device" (Chinese Inventors)
Aug 31, 2013; GENEVA, Aug. 31 -- Publication No. WO/2013/123761 was published on Aug. 29.Title of the invention: "CELL Concatenation...
US Patent Issued to Fujitsu on Nov. 29 for "Method and Device for Virtual Concatenation Transmission" (Japanese Inventor)
Dec 07, 2011; ALEXANDRIA, Va., Dec. 7 -- United States Patent no. 8,068,518, issued on Nov. 29, was assigned to Fujitsu Ltd. (Kawasaki, Japan)....