I have and angularjs view in html below
<tr ng-repeat="l in tutorRequests" class="form-text">
<td>{{l.tutorid}}</td>
<td>{{l.tutorsubject.replace(',',"")}}</td>
<td>View Details</td>
the Output of the <td>{{l.tutorsubject}}</td>
is in the format below:
Further Mathematics,Environmental Management,Geography ,Programming,Physics,
When I used <td>{{l.tutorsubject.replace(',',"")}}</td>
it replaced the first comma in the output string. How can I replace all the comma character in the entire string? The idea is to replace the comma with a </span><span class="">
Would be waiting for your response.