You wrote:
> I have a simple question...
> How can a space inserted to a string after the 3rd char ??
> 
> washington   ->>  was hington 

$str = 'washington';
$str = ereg_replace('^(.{3})(.*)$', '\\1 \\2', $str);

-- 
 -Ryan :: ICQ - 595003 :: GigaBoard - http://www.gigaboard.net/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to