I have an string like this below:
{'SAM (manager)','MICHAEL (assi)','BEN(Servent)'}
How can I loop through this structure to get the result like this in Javascript
SAM (manager)
MICHAEL (assi)
BEN (servent)
My python script to get data
for each in rows:
client = each[0] + ' (' + each[1] + ')'
codes.append(client.replace('\t',''))
codes = str(set(codes))
return codes