网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单选题
变量$email=user@example.com,以下哪项能得到字符串example.com?()
A
substr($email,strpos($email,‘@’));
B
strstr($email,‘@’);
C
substr($email,strpos($email,‘@’)+1);
D
strrpos($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信息,以下语句正确的是()。A
Select email from student where email !=nullB
Select email from student where email not is nullC
Select email from student where emailnullD
Select email from student where email is no tnull
考题
问答题什么是常量?什么是变量?字符变量与字符串常量有何不同?
热门标签
最新试卷