Parse course query string