Remove All Occurences of str1 from str2

Given 2 strings str1 and str2.. remove all occurences of str1 from str2

Here it is.. reply if there is a better implementation

void removeocc(char *src, char *dest)
{
int len=strlen(src);
for(int i=0,j=0;i