Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > SDL script for generating code > Operators > & operator (SDL script)
  
& operator (SDL script)
This operator concatenates two strings. Each string must be enclosed in parentheses.
In this example, the strFullPath variable is set to the concatenation of the strPath and strFilename variables.
%setvar "strFullPath" = (%getlocalvar "strPath") & (%getlocalvar "strFilename")