trying to get last line of textbox input