strstr and reverse string