only parse function args from string if not empty