Saturday, November 17, 2007

Working with Expressions

A transformation has the following ports: Port_1: String, Input port; Port_2: String, Input port; Port_3: String, Output port. Which of the expressions shown below would be valid? Assume that it is associated with Port_3 and that the string ENDSTRING is not a parameter or mapping variable.

Choose Answer

Port_1|| Port_2 || 'ENDSTRING'
Port_1 || Port_2 || "ENDSTRING"
Port_1 || Port_2 || ENDSTRING