Fixed bug where \ at end of String wasnt being ignored.