Replace in a String

Article 57 in PHP

2020-11-07 16:02:41 from bugfish
Replace in a String
PHP / String Operations
Last Review on: 2021-10-26 18:34:35 | Hits: 245
Example of replacing a sign in a string (works with more than one sign)
$newstring = str_replace("TEXT", "NEW TEXT", $initialstring);
I do not guarantee the reliability of the information given here, the code described on this page is executed at your own risk and in the event of damage or other unforeseeable consequences I am in no way responsible or liable.
Currently 0 Upvotes!
captcha image
System - 2021-01-01 19:30:37
We appreciate comments on our site!

This Website is using Session Cookies for Site Functionality and AWStats.