Adding String value to an attribute of type String

7
I want to add the value of a string to the original value of an attribute of type String. For instance, the original value is 'A', and I want to add 'B' to it, in a manner that the result is 'A B'. I can not use the property 'add' when changing an attribute of an object, only the property 'set' can be used (which would result in 'B' in the case described above). Does anyone know a way of realising this?
asked
2 answers
9

You can easily change it by using the "set" option you described, but set it to:

$myvar + ' B'
answered
5

You can use a change activity and use the plus (+) operator in the expression to concatenate two strings, e.g. $value + 'B'

answered