URL Encode / Decode

Replace characters in a string to a URL friendly version
Input
DECODE
ENCODE
Output