I have the following code:
host = argv[1];
if ((argv[1]) = "http://"); {{
host = host + 7;
}
the host is a url which is entered by argument it can be either http://google.com or www.google.com
so I want to check if the arguments contains "http://" and remove it by removing the first 7 characters is there such a function in c?