A

Admin • 828.03K Points
Coach

Q. What does the PHP function substr() do?

  • (A) Returns a portion of a string
  • (B) Replaces a substring
  • (C) Splits a string into an array
  • (D) Joins array elements into a string
  • Correct Answer - Option(A)
  • Views: 10
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin
substr() returns part of a string starting at a specified position.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.