Notes & Credits
#Module: Filter text
def filStr(txt,rem=" "):
lis = list(txt)
while rem in lis:
lis.remove(rem)
return "".join(lis)
def countStr(txt,find=" "):
a = 0
for b in txt:
if b == find:
a += 1
#end
#end
return a
#end
def filStrR(txt,keep):
return countStr(txt,keep) * keep