Replace space by other %20 - using char array