单选题变量$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 ) 空串一定比空格打头的字符串小

以下说法的是()。 A、C语言里有字符串变量B、C语言里没有字符串变量C、C语言里有字符变量D、C语言里没字符变量

变量未赋值时,数值型变量的值为______,字符串变量的值为空串。

字符串常量可以放在字符串变量中。()

字符串可分为字符串常量和字符串变量,它们都是对象。() 此题为判断题(对,错)。

以下哪种变量类型不是SPSS定义的数据类型:()。 A.数值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.双精度实型变量

执行完strUser="12345678"以后,strUser是()类型。A.整数变量B.字符串变量C.布尔型变量D.单精度变量

以下能正确定义字符串的语句是( )。A.AB.BC.CD.D

以下选项中,能正确进行字符串赋值的是

String 字符串常量,StringBuffer 字符串变量(线程安全),StringBuilder 字符串变量(非线程安全)

变量有包括以下哪些类型()。A、数字变量B、模拟变量C、字符串变量D、以上都有

Session变量和Application变量的返回值的数据子类型是()。A、字符串、字符串B、数值、字符串C、字符串、数值D、根据其中的数据的类型决定

执行完strUser="12345678"以后,strUser是()类型。A、整数变量B、字符串变量C、布尔型变量D、单精度变量

用字符串指针变量处理字符串与用字符数组处理字符串有何不同?

说明什么是字符串变量及其用法。

使用字符串变量,应注意些什么?

电子邮件营销按照Email营销的功能分类不包括以下哪种()A、顾客服务Email营销B、在线调查Email营销C、非经营型Email营销D、顾客关系Email营销

Java的String类的对象既可以是字符串常量,也可以是字符串变量。

查询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

单选题Session变量和Application变量的返回值的数据子类型是()。A字符串、字符串B数值、字符串C字符串、数值D根据其中的数据的类型决定

问答题用字符串指针变量处理字符串与用字符数组处理字符串有何不同?

单选题执行完strUser="12345678"以后,strUser是()类型。A整数变量B字符串变量C布尔型变量D单精度变量

问答题什么是常量?什么是变量?字符变量与字符串常量有何不同?