strpos($str, n) 首次,n在str第一次出现位置,

strrpos($str, n) 最后一次,n在str最后一次出现位置 strripos区分大小写