#testmode:repl s = "Glasflügel" l = , for i in range(s.len) { l.push(s[i] + i) } "".join(l) "|".join(l) #--- #"G0l1a2s3f4l5ü6g7e8l9" #"G0|l1|a2|s3|f4|l5|ü6|g7|e8|l9"