Say I wanted to create a comprehensive product code based on what the product in the database is called. Therefore I'd like:
"Blue Widget in Cotton"
to become:
"BLUEWIDGETCOTTON"
I can get rid of the space and "in"'s using str_replace but is there any code that will turn it into all capitals?