Combine strings : MXML « Development « Flex
- Flex
- Development
- MXML
Combine strings

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:String id="firstName">Alaric</mx:String>
<mx:String id="lastName">Cole</mx:String>
<mx:Label text="{'Hello, ' + firstName + ' ' + lastName}" />
</mx:Application>
Related examples in the same category