Fixed StrReplace

It didn't work with chars.