Answer the question
In order to leave comments, you need to log in
How to make several changes in the text at once?
There is a text in the variable:
you need to replace qwe with asd and 567 with 345.
Is it possible to make two replacements in one call to the variable q? Or is each replacement necessarily a new access to the variable?
$q = 'qwe 123 rty 567 uio';
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question