【单选题】【消耗次数:1】
下列关于常用的字符串函数及用法说法错误的是( )
Len(string),返回字符串string的长度
Trim(string),将字符串string前后的空格去掉
Split(strl,符号),根据符号将strl拆分成一维数组
Left(str,len),从右边取len个字符
参考答案:
复制
纠错
相关题目
【单选题】 在以下字符串String的赋值运算中,错误的是( )。
①  char str[10]= { S ,t, r ,i,n, g,\0};
②  char str[10]= "String";
③  char str[10]= { S ,t, r ,i,n, g};
④  char str[]= { S ,t, r ,i,n, g,\0};
【单选题】 把字符串"abcdef"右边的空格去掉应使用()函数。
①  trim
②  rtrim
③  right
④  mid
【判断题】 字符串“string”占用7字节的存储空间。
①  正确
②  错误
【判断题】 String对象提供了对字符串进行处理的属性和方法。
①  正确
②  错误
【单选题】 用于从字符串右边截取字符的函数是()。
①  Right()
②  Trim()
③  Left()
④  Ltrim()
【判断题】 C语言中没有字符串类型,也没有字符串变量,字符串是存放在字符型数组中的。
①  正确
②  错误
【单选题】 下列关于字符串的描述中,错误的是()。
①  一维字符数组可以存放一个字符串
②  二维字符数组可以存放多个字符串
③  可以使用一个字符串给二维字符数组赋值
④  可以用一个字符串给二维字符数组初始化
【判断题】 在VBA语言中,字符串类型名称为String,整数类型名称为Integer。
①  正确
②  错误
【单选题】 一个二维字符数组a[M][N]能够至多存储( )个字符串。
①  M
②  N
③  M-1
④  N-1
【单选题】 一个二维字符数组a[M][N]能够至多存储( )个字符串。
①  M
②  N
③  M-1
④  N-1
随机题目
【判断题】 英语演讲词的语言特征之一是:多用实词、短句,少用结构复杂的长句。
①  正确
②  错误
【判断题】 撰写英语演讲词可以多运用夸张的词语以引起观众的关注
①  正确
②  错误
【判断题】 演讲词的基本组成部分有: 开场时对听众的称呼语、提出论题、论证、结论。
①  正确
②  错误
【判断题】 演讲词的基本特征包括:口语性(有声性)、鼓动性和临场性。
①  正确
②  错误
【单选题】 The party had to be ______ because the host went down with a bad case of flu.
①  called in
②  called off
③  called on
④  called up
【单选题】 She soon _______ the actor who had starred in the popular movie Speed.
①  specified
②  realized
③  justified
④  identified
【单选题】 We collected hundreds of _______ in support of not allowing cars into the city centre.
①  signatures
②  awareness
③  stationery
④  statements
【单选题】 Sincehiswifedied,hehas_______himselfintotheresearchwork.
①  devoted
②  dedicated
③  thrown
④  contributed
【单选题】 Theimprovementsintechnologyhave________thepricesofcomputerconsiderablyinrecentmonths.
①  brought back
②  brought down
③  brought on
④  brought up
【单选题】 Environmentalistsaredoingeverythingwithintheirpowerto_______theimpactoftheoilspill.
①  reject
②  belittle
③  minimize
④  reclaim