This should be an easy one I think but I can't seem to figure it out.
I have a data source where the value is full name 'Brad Lawryk' and on my page I just want to display the first name 'Brad' only. Is this possible?
This should be an easy one I think but I can't seem to figure it out.
I have a data source where the value is full name 'Brad Lawryk' and on my page I just want to display the first name 'Brad' only. Is this possible?
Simply split by empty space and get the first part:
{{fullname.split(' ')[0]}}
Ah! I was missing the [0] part. Is there a way to set that in the interface?
Thanks for the quick answer. Works great!
I don't think there's a way to do that through the UI, maybe we can add an option to select index @George ?