Can anyone tell me how can i remove all unwanted characters from a string..
Characters like, ......

Use REPLACE function.

MsgBox Replace("Stoped", "ed", "")

This example removes the "ed" letters from string and show "Stop" on dialog.

Please refer to VB6 help to see the other optional parameters used. You can control where to begin replacing (default is first character), how many times replaces can occur (if you wish to limit replacing operating), if it's case sensitive or not...