How to remove spaces to make a combination of strings
<p>I've been trying to figure out the best approach to combining words in a string to make combinations of that string.  I'm trying to do this for a class project.  If the string is "The quick fox", I need to find a way to output "Thequick fox", "the quickfox", and "thequickfox".  I've tried using string.split and gluing them back together, but haven't had a lot of luck.  The issues is the string input could be of any size.</p>