2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by sidnei
0

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...


Regards,
Sidnei

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.