【单选题】【消耗次数:1】
可以同时删除字符串前导和尾部空格的函数是( )。
Ltrim
Rtrim
Trim
Mid
参考答案:
复制
纠错
相关题目
【单选题】 仅删除字符串尾部空格的函数是 。
①  Ltrim()
②  Trim()
③  Rtrim()
④  Mid()
【单选题】 可以同时删除字符前导和尾部空白的函数是?
①  Mid
②  Rtrim
③  Trim
④  Ltrim
【单选题】 可以删除字符串两端空格的函数是 。
①  Trim
②  Rtrim
③  Ltrim
④  Mid
【单选题】 把字符串"abcdef"右边的空格去掉应使用()函数。
①  trim
②  rtrim
③  right
④  mid
【单选题】 字符串输出函数是
①  getchar()
②  putchar()
③  getchars()
④  putchars()
【单选题】 用于从字符串右边截取字符的函数是()。
①  Right()
②  Trim()
③  Left()
④  Ltrim()
【单选题】 下列关于常用的字符串函数及用法说法错误的是( )
①  Len(string),返回字符串string的长度
②  Trim(string),将字符串string前后的空格去掉
③  Split(strl,符号),根据符号将strl拆分成一维数组
④  Left(str,len),从右边取len个字符
【判断题】 函数strcpy用来求字符串的长度。
①  正确
②  错误
【判断题】 字符处理函数strcpy(s1,s2)的功能是把字符串1接到字符串2的后面。
①  正确
②  错误
【多选题】 实现数值、字符串相互转换的函数是?
①  STR()
②  VAL()
③  ABS()
④  LOG()
随机题目
【单选题】 The position of a grandparent is easier than ______ of a parent.
①  ones
②  this
③  that
④  it
【单选题】 Itsnouse_______menottoworry.
①  you tell
②  your telling
③  for you to have told
④  having told
【单选题】 Ifyouwant______youhavetogetthefundsomewhere.
①  that the job is done
②  the job done
③  to have done the job
④  the job that is done
【单选题】 While _______ the sun, the satellite has sent more than four billion bits of information back to earth.
①  having orbited
②  being orbited
③  having been orbited
④  orbiting
【单选题】 Theyareconsidering______beforethepricesgoup.
①  of buying the house
②  with buying the house
③  buying the house
④  to buy the house
【单选题】 Having no money but _______ to know, he simply said he would go without dinner.
①  not to want anyone
②  not wanting anyone
③  wanted no one
④  to want no one
【单选题】 ______suchagoodchance,heplannedtolearnmore.
①  To be given
②  Having been given
③  Having given
④  Giving
【单选题】 I appreciate_______ to your home.
①  to be invited
②  to have invited
③  having invited
④  being invited
【单选题】 Silveristhebestconductorofelectricity,copper_______itclosely.
①  followed
②  following
③  to follow
④  being followed
【单选题】 _____withthesizeofthewholeearth,thehighestmountaindoesnotseemhighatall.
①  When compared
②  Compare
③  While comparing
④  Comparing