Using PHP, how do you convert a string of decimal numbers with spaces in between into a string without spaces? (unless of course it is a DEC space (32) converted)
Example: 84 104 97 110 107 32 121 111 117
I have checked out the related questions and most of them are just asking what the built in function is for converting decimal to ascii. I know chr() and ord() and I think the solution really should use explode() and implode() along with a string replace. I am just horrible at for and foreach loops so the logic breaks my mind. :)
The closest SO topic I found is this one which is basically the opposite of what I am asking for - Using PHP to Convert ASCII Character to Decimal Equivalent