Which function is used to replace text within a string?

42. Which function is used to replace text within a string?

  1. str_replace()
  2. replace()
  3. replace_str()
  4. string-replace()

Answer: A) str_replace()

Explanation:

The str_replace() is used to replace text within a string.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.