Exam 3: Manipulating Strings

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The opposite of the explode() function is the implode() function.

Free
(True/False)
4.8/5
(36)
Correct Answer:
Verified

True

The escape character combined with one or more other characters is called a(n) ____________________.

Free
(Short Answer)
4.8/5
(38)
Correct Answer:
Verified

escape sequence

All text strings must begin and end with double quotation marks.

Free
(True/False)
4.8/5
(40)
Correct Answer:
Verified

False

The metacharacter, ____, specifies an anchor at the end of the line.

(Multiple Choice)
4.8/5
(34)

The ____________________ quantifier specifies that the preceding character in the pattern is optional.

(Short Answer)
4.8/5
(45)

The similar_text() function returns the number of ____ to strings have in common.

(Multiple Choice)
4.8/5
(41)

To include a literal hyphen (-) in a character before the closing bracket or it will interpreted as a ____________________.

(Short Answer)
4.8/5
(38)

The ____ function converts any occurrence of (&), ("), ('), (<), and (>) to their equivalent HTML character entity.

(Multiple Choice)
4.7/5
(39)

PHP support Perl Compatible Regular Expressions (PCRE).

(True/False)
4.8/5
(29)

The ____ function converts all of the letters in a string to capital letters.

(Multiple Choice)
4.9/5
(36)

A(n) ____________________ metacharacter in a regular expression pattern specifies that the pattern must contain a value where the metacharacter is located.

(Short Answer)
4.8/5
(43)

The strtok() function breaks a program into functions.

(True/False)
4.7/5
(38)

To insert a horizontal tab, use the escape sequence \t.

(True/False)
4.9/5
(29)

The concatenation operator in PHP is a ____.

(Multiple Choice)
4.8/5
(37)

The ____________________ function is can be used to check for palindromes because it reverses the characters in a string.

(Short Answer)
4.7/5
(42)

The escape sequence to insert a carriage return is \r.

(True/False)
4.8/5
(31)

The concatenation operator in PHP is a ____________________.

(Short Answer)
4.8/5
(39)

In PHP, the escape character is the ____.

(Multiple Choice)
4.7/5
(36)

The concatenation operator (.) combines several string variables and literal strings and assigns the new value to another variable.

(True/False)
4.8/5
(29)

The ucfirst() function and the lcfirst() function only change the ____________________ character of a string.

(Short Answer)
4.9/5
(35)
Showing 1 - 20 of 83
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)