Pamungkas Jayuda Pamungkas Jayuda - 9 months ago 76
Android Question

Nativescript concatenate text use Label

I want to combine string in Label. The result i want is : USD 3000, price number 3000 from database. So i use code :

<Label row="2" col="1" text="USD {{ price }}" />

but not work and show like this :

USD {{ price }}

Can i directlly concatenate string in text label ? or any clue about this.
Thanks anyway


I think it should be like this:

<Label text="{{ 'USD' + price }}" />