I'm doing a website where I have to present the specialties of a chef, the data was collected from the backend and I present them with an ngFor in the following way:
<div *ngFor="let i of item.specialty; let ultimo =last" >
<p style="display: inline-block;"> {{i.name}}, </p>
</div>
As you can see add a comma to show the different specialties followed by a comma, the problem is that the last element also adds a comma, How can I control so that the comma does not appear in the last element that brings the ngFor?