Is it possible for a string generated from a base64 encoding to have a space (' ') in it?
No. Next question?
http://en.wikipedia.org/wiki/Base64#Variants_summary_table
Actually, spaces and CRLFs are usually silently skipped during the decoding, as they might appear as a result of splitting long strings.