to_sentence
Converts an array of strings in to a human readable sentence.
Specification
{{ array | to_sentence }}
Parameter | Description | Example Values |
---|---|---|
array (required) | The array of items that you would like to join in to a sentence. | account.available_locales |
Examples
{{ account.available_locales | to_sentence }}
This will list the available locales in a human readable sentence.