from rlike import *
x = ['Some text', 'Another element']
x = toupper(x)
x = tolower(x)
paste(x, ["a", "b"], "END", sep = "-")['some text-a-END', 'another element-b-END']
paste(x, ["a", "b"], "END", sep = "-", collapse = "\n")'some text-a-END\nanother element-b-END'