Tag Archive for 'substitute()'

25
Sep

Creating a simple label function on a Flex ComboBox control

The following example shows how you can format the label in a ComboBox using a custom label function.

Full code after the jump.

Continue reading ‘Creating a simple label function on a Flex ComboBox control’

08
Sep

Substituting values in strings using the Flex StringUtil class’s substitute() method

The following example shows how you can substitute values in a string with specified values using the static StringUtil.substitute() method in Flex. Similar to the printf() and sprintf() methods in other languages.

Full code after the jump.

Continue reading ‘Substituting values in strings using the Flex StringUtil class’s substitute() method’