CodeIgniter Forums
URL String Manipulation - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: URL String Manipulation (/showthread.php?tid=10161)



URL String Manipulation - El Forum - 07-21-2008

[eluser]Yash[/eluser]
Hi,

I need to change some string into linux friendly urls.

I mean if some enter "CodeIgniter is Nice" it should convert like "CodeIgniter-is-Nice" .

also remove all non user friendly symbols. like .,?:; etc...

Any Ideas?


URL String Manipulation - El Forum - 07-21-2008

[eluser]Pascal Kriete[/eluser]
The url helper has a function called url_title() that should do what you need.


URL String Manipulation - El Forum - 07-21-2008

[eluser]Yash[/eluser]
wow ...thats nice.

I've read user guide still I always miss something.

Thank you