Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Simple solution in Clear category for Backspace Apply by mindaugas.dadurkevicius
def backspace_apply(val):
i = 0
while i < len(val):
if (val[i] == '#') & (i > 0):
val = val[:i-1] + val[i+1:]
i -= 2
elif val[i] == '#':
val = val[1:]
i -= 1
i += 1
return val
Dec. 13, 2021