Here is the Script BASIC version of this.
str1 = "She was a soul stripper. She took my heart!" rmv = "aei" FOR i = 1 TO LEN(rmv) str1 = REPLACE(str1, MID(rmv, i, 1), "") NEXT PRINT str1,"\n"jrs@laptop:~/sb/sb22/test$ scriba strip.sb Sh ws soul strppr. Sh took my hrt! jrs@laptop:~/sb/sb22/test$