String Help

Hi Guys

If I have a string “I am on a roll” how can I make it
iamonaroll

Thanks
DD

str_replace() function usually used for this

strtolower() might also help.