Working on strings in parser