Replace characters in string (url encode)

Replaced with new version:
http://forum.mikrotik.com/t/rextended-fragments-of-snippets/151033/1