in reply to Convert ASCII Spaces?

Lookup URI::Escape and even better CGI

use URI::Escape; print uri_unescape('This%20is%20a%20string') . "\n";

Outputs

This is a string