+ 1
How to combine two functions?
It is required to turn russian letters into latin and instead of spacebar between words make underscore. i used preg_replace and mb_strstr. Initial sentence f.e. Всем привет! Result to be: Vsem_privet! I could do this functions separately. How can i combine them?
1 Answer
0
Sophie S Attach your code URL with the Description part of the original post. Without seeing what you do people will find it hard to understand or even help.
To attach code URL; open code in SoloLearn editor → tap share button on top right → copy to clipboard → edit original post → long press on Description text → select "Paste".
* I'll delete this note after you add code URL. Thanks for understanding.