In my localization, I have a message like the following:
'Welcome, {0}'
where {0} refers to the name of the username.
Is there a string format function in the Syncfusion JavaScript library which allows me to format the localized message and pass a value? Something like:
const instance = new L10n('common', { welcomeMessage: 'Welcome {0}' });
const welcomeMessageFormatString = instance.getConstant('welcomeMessage');
const messageToDisplay = stringFormat(welcomeMessageFormatString, userName);