变量$email的值是user@example.com,以下哪项可以把字符串转化成example.com
A、substr($email,strpos($email,"@"));
B、strstr($email,"@");
C、substr($email,strpos($email,"@")+1);
D、substr($email,strrpos($email,"@"));
发布时间:2024-10-16 08:41:29
A、substr($email,strpos($email,"@"));
B、strstr($email,"@");
C、substr($email,strpos($email,"@")+1);
D、substr($email,strrpos($email,"@"));