ACF put a comma after the last repeater field value

I’ve the following code <?php if(have_rows('ore')):?> <?php while( have_rows('ore')): the_row(); $start = get_sub_field('start'); $end = get_sub_field('end'); ?> <?php if( get_row_index() != 1 ){ echo '/'; }?> <?php echo $start;?> – <?php echo $end;?> <?php endwhile;?> <?php endif;?> Which outputs the two fields (“start” & “end”) in this form: 12.00 – 13.00. In case there are … Read more