0
How to replace a string in php by using substr_replace
Suppose I have a string AAABBBCCAAABBCCABVSAAA so using substr_replace what should be the code to replace AAA BY KKK?
2 Answers
+ 5
rane harish Hello,Visit this site,here shown how to use substr_replace function...with example...
https://www.google.com/amp/s/www.geeksforgeeks.org/php-substr_replace-function/amp/
0
Hi, simply check these 4 easy methods to replace string characters in PHP, you will see 4 different functions in detail
https://www.webcodzing.com/replace-string-in-php/