单选题变量$email=user@example.com,以下哪项能得到字符串example.com?()Asubstr($email,strpos($email,‘@’));Bstrstr($email,‘@’);Csubstr($email,strpos($email,‘@’)+1);Dstrrpos($email,‘@’);
单选题
变量$email=user@example.com,以下哪项能得到字符串example.com?()
A
substr($email,strpos($email,‘@’));
B
strstr($email,‘@’);
C
substr($email,strpos($email,‘@’)+1);
D
strrpos($email,‘@’);
参考解析
解析:
暂无解析
相关考题:
以下关于字符串的叙述中正确的是A ) C 语言中有字符串类型的常量和变量B ) 两个字符串中的字符个数相同时才能进行字符串大小的比较C ) 可以用关系运算符对字符串的大小进行比较D ) 空串一定比空格打头的字符串小
在以下程序中,变量S为( )。 DefDbl A-H O-Z DefInt I-N S=1 For I=1 To 20 S=S*I Next I Printf"S=",SA.字符串变量B.长整型变量C.单精度实型变量D.双精度实型变量
查询student表中的所有非空email信息,以下语句正确的是()。A、Select email from student where email !=nullB、Select email from student where email not is nullC、Select email from student where email nullD、Select email from student where email is not null
查询student表中的所有非空email信息,以下语句正确的是()A、Select email from student where email!=nullB、Select email from student where emailnotisnullC、Select email from student where emailnullD、Select email from student where emailisnotnull
单选题查询student表中的所有非空email信息,以下语句正确的是()。ASelect email from student where email !=nullBSelect email from student where email not is nullCSelect email from student where emailnullDSelect email from student where email is no tnull
问答题什么是常量?什么是变量?字符变量与字符串常量有何不同?