I was using those functions to consume data from an encoded string. D=. Currently, I can't test this but does it cause memory leak on arrays? Also, could you check this method? maybe this could be an alternative for strings. DEF myShift(S$) VAR R$=S$[0] S$[0]="" RETURN R$ END