template_string

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

template string

template_string #
Simple string formatting from inline templates.
Usage #
print(
'Hello {{first_name[lowercase]}}! Your score is {{score:Int[percentPattern]}} as of {{date:DateTime[yMMMM]}}.'
.insertTemplateValues(
{
'first_name': 'John',
'score': 67.8,
'date': DateTime.now(),
},
Locale.parse('en'),
),
);
// Hello John! Your score is 6,780% as of March 2021.
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.