d3e9e5fa1454da1c0a3347ec2129458776cbf0ac
15-dot-2-Concatenation.md
| ... | ... | @@ -0,0 +1,29 @@ |
| 1 | +#Concatenation |
|
| 2 | + |
|
| 3 | +### Text Concatenation |
|
| 4 | + |
|
| 5 | +We can also use expressions to manipulate text. Let’s say that we have 'ShipCity' (e.g. Berlin), as well as 'ShipCountry' (e.g. Germany). |
|
| 6 | + |
|
| 7 | +**Using the following expression:** |
|
| 8 | + |
|
| 9 | +``[ShipCity], + ‘, ‘ + [ShipCountry]`` |
|
| 10 | + |
|
| 11 | + |
|
| 12 | + |
|
| 13 | +This would combine ‘Berlin’ and ‘Germany’ to ‘Berlin, Germany’. Note that in order to add text, we use single quotes. Anything between single quotes will appear exactly as typed, in this case a comma and single space. |
|
| 14 | + |
|
| 15 | + |
|
| 16 | + |
|
| 17 | +**In the same as in the example, we can add a static text denomination to a numerical value:** |
|
| 18 | + |
|
| 19 | +``[Freight] + ‘USD’ -> xxxxUSD`` |
|
| 20 | + |
|
| 21 | +**We could also write:** |
|
| 22 | + |
|
| 23 | +``‘$’ + [Freight] -> $xxxx`` |
|
| 24 | + |
|
| 25 | +--- |
|
| 26 | + |
|
| 27 | +[[15.0 Expressions in Izenda]] |
|
| 28 | + |
|
| 29 | +[[UserGuides]] |
|
| ... | ... | \ No newline at end of file |