I'm trying to explode or split a variable named $mdirectory and then print the variable with a space between the two parts of the variable if necessary. For example, I want to take $mdirectory = SoftwareDistribution and print Software Distribution. Obviously I could hard code this page by page, but I would prefer to pull the $mdirectory variable from the string in the URL.
Any ideas?
Thanks.