I have to replace string but it's simple in PHP but my string just like these here i show you.Please any one help me.

```
$string = "#x93F;#x902;#x91C";  

```

Above string i want to replace it with

```
 #x91C;#x93F;#x902;

```

But one thing in these string replace. We don't know last word of the $string `#x91C`; .

Any word comes in last it's place in to front of that string. How can i solve that please any one help me.