NYCPHP Meetup

NYPHP.org

[joomla] Is there a method that can remove space and \n in joomla library?

Anthony Ferrara ircmaxell at yahoo.com
Wed Jul 29 08:46:48 EDT 2009


$str = str_replace(array(' ', "\n"), '', $str);

No framework needed

--- On Wed, 7/29/09, Shelley <skylarkbj at 163.com> wrote:

> From: Shelley <skylarkbj at 163.com>
> Subject: [joomla] Is there a method that can remove space and \n in joomla library?
> To: NYPHP at lists.nyphp.org, SIG at lists.nyphp.org
> Date: Wednesday, July 29, 2009, 3:54 AM
> How can I remove the space and \n in
> a string with one method?
> 
> Thanks!
> 
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
> 
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
> 
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
> 


      



More information about the Joomla mailing list