Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BSTR trivial question

Status
Not open for further replies.

bobetko

Programmer
Joined
Jan 14, 2003
Messages
155
Location
US
What would be the best approach to search and replace characters in BSTR type string?

Let's say I have:

CComBSTR = "The Big House"

The resulting string should be: The+Big+House

(Want to replace space character with + character)

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top