View Single Post
Old 02-20-2021, 07:03 AM   #14
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,199
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Code:
program:
    genre = '';
    for item in '#genre':
        l = re(item, '\.', ',');
        for subitem in l:
            res = str_in_list(genre, ', ', subitem, subitem, '');
            if res == '' then
                genre = strcat(genre, ', ', subitem)
            fi
        rof
    rof;
    re(genre, '^[, ]+', '')
capink is offline   Reply With Quote