//读入文件到字符串 $str1="(文件内容)"; $str2="This momentous decree came as a great beacon light of hope to millions of Negro slaves who had been seared in the flames of withering injustice."; $str1=substr($str1,strpos($str2,$str1),strlen($str1)-strpos($str2,$str1)); $str1=substr($str1,0,strlen($str2);
$str1="(文件内容)";
$str2="This momentous decree came as a great beacon light of hope to millions of Negro slaves who had been seared in the flames of withering injustice.";
$str1=substr($str1,strpos($str2,$str1),strlen($str1)-strpos($str2,$str1));
$str1=substr($str1,0,strlen($str2);