I wonder how to put a comma between elements of an array without there being a comma at the end of the line. There are similar questions but my is a bit different because I use the *ngFor directive to display text:
<span *ngFor="let style of styles">
{{style}} //If I put a comma after the text, there would be a comma at the end of the line after the
//last element was displayed
<span>
What would be an approach to solve my problem?