Create replace-blank-space-in-string.php

Write a method to replace all spaces in a string with ‘%20’.