String Replacement MCQs Quiz Online PDF Download

Learn string replacement MCQs, php test for learning online courses and test prep to practice. Php string handling quiz has multiple choice questions (MCQ), string replacement quiz questions and answers, comparison and searching, string replacement tutorials for online xhtml courses distance learning.

Php practice test MCQ: ltrim ( ) returns its string argument with with choices leading blankspace removed, trailing blankspace removed, numerical values and none of them problem solving skills for summative and formative assessment, competitive exam prep, interview questions with answer key. Free study guide is for online learning string replacement quiz with MCQs to practice test questions with answers.

MCQs on String Replacement Quiz PDF Download

MCQ. Ltrim ( ) returns its string argument with

  1. Leading blankspace removed
  2. Trailing blankspace removed
  3. Numerical values
  4. None of them


MCQ. Returns a string arguments with trilling blank space removed, is a behavior of

  1. starts ( ) function
  2. chop ( ) function
  3. rtrim ( ) function
  4. Both B and C


MCQ. Which function is used for replacing whole string with an alternate string?

  1. Strstr ( )
  2. Strrpos ( )
  3. Str_replace ( )
  4. Replace ( )


MCQ. Replacing string from left hand side is known as

  1. Slicing
  2. Dicing
  3. Trailing
  4. Leading


MCQ. Which two functions are used for replacing a string with another string?

  1. Str_replace ( )
  2. Substr_replace ( )
  3. Replace ( )
  4. Both A and B