check to see if a comma or an open paren came first when splitting the application