I'm looking for a way to find and replace certain characters within a PWideChar variable in Delphi. The PWideChar variable contains Unicode (specifically, Chinese) characters, with which I'm looking to rename my files with. However, for some of these PWideChar variables, some special characters have been included, such as the colon (':').
How do I then find these special characters, and replace them with say an empty string? I'm aware of how to do this with normal String variables, but how can it be achieved with PWideChar variables?
Your assistance will be much appreciated please. Thanks!