Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

replace text in string php

echo str_replace("Initial Value", "Replace with", "This is the Initial value");
 
PREVIOUS NEXT
Tagged: #replace #text #string #php
ADD COMMENT
Topic
Name
4+2 =