check if string starts with a certain string, optionally ignoring case