Hi,
I am trying to turn this:
Hello World
into this:
H e l l o . W o r l d
(a triplespace where the period is)
This works:
$str = preg_replace("/\w{1}/", "$0 ", $str);
but the expression doesn't include spaces. If I go this route I'll need to know how to include :space: into the expression.
I'm not sure if expressions are overkill for what I'm attempting to do and if I could use some sort of sting_length loop instead, any thoughts?
Thanks