Re: String manipulation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You can do like this:

$str = 'helloworld';

echo preg_replace('//', ' ', $str);

this will print out  -> h e l l o w o r l d

Olavi Ivask

> How would I put a space after each letter:
>
> echo str_shuffle(stripslashes(mysql_result($word_result,0,"word"));
>
> Ron



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux