Hello again, I've been working around a little in these src files, and now I have another question for you...
I have merged all composers, arrangers, and performers into one tag - Artists. Unfortunately though, everybody's name are being repeated (obviously). What I'm wondering, is; is there a function or something that 'removes duplicates' from one line?
Here are the codes for the Composers, Arrangers and Performers lines:
# Composer
findline "<b>Composed by</b>"
outputto "Artist"
moveline 1
regexpreplace "<span class=\"artistname\" lang=\"en\" style=\"display:inline\">([^<]+)</span>" "$1"
regexpreplace "<span class=\"artistname\" lang=\"ja\" style=\"display:none\">.+?</span>" ""
regexpreplace "<a[^>]+>" ""
replace "</a>" ""
sayregexp "(?<=<td>)[^<]+(?=</td>)" ""
say ", "
# Arranged
findline "<b>Arranged by</b>"
outputto "Artist"
moveline 1
regexpreplace "<span class=\"artistname\" lang=\"en\" style=\"display:inline\">([^<]+)</span>" "$1"
regexpreplace "<span class=\"artistname\" lang=\"ja\" style=\"display:none\">.+?</span>" ""
regexpreplace "<a[^>]+>" ""
replace "</a>" ""
sayregexp "(?<=<td>)[^<]+(?=</td>)" ""
say ", "
# Performed
findline "<b>Performed by</b>"
outputto "Artist"
moveline 1
regexpreplace "<span class=\"artistname\" lang=\"en\" style=\"display:inline\">([^<]+)</span>" "$1"
regexpreplace "<span class=\"artistname\" lang=\"ja\" style=\"display:none\">.+?</span>" ""
regexpreplace "<a[^>]+>" ""
replace "</a>" ""
sayregexp "(?<=<td>)[^<]+(?=</td>)" ""