Fixed string parsing in function parser.