Tell me how you get out of the situation when you need to cut out some Cyrillic word, a letter from the text. ( str_replace
does not work)
I tried the self-written functions of the mb_str_replace
type - none of them gave proper results.
Example:
Suppose we have a line: $calc = "1Ρ20ΠΌΠΈΠ½+1Ρ50ΠΌΠΈΠ½";
And from it you need to remove the "min."
Or more complex cases, where there is a lot of sparse text (the initial encoding is not known in advance) and something needs to be changed in it.