Add an implementation of tailing until a certian character is reached