I've seen code for cells that contain exactly a string, and code for cells that contain a string (i.e. the string is a substring of the cell data) but how can I remove rows in a dataframe that start (in that column) with a specific string ?
For instance
Name Number
John Smith 4
John Lee 3
James Michaels 2
Johnny King 7
would return
James Michaels 2
if all rows which start with "John" in the Name column are removed.