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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

...an easy one

Status
Not open for further replies.

belle

Programmer
Joined
Dec 30, 1999
Messages
2
Location
US
I posted earlier but as a guest and didnt seem to get any response so maybe this will do it!<br>I have a string and need to replace it with another string - kinda like a find replace function. <br>to be specific - i have the ® and want to replace it with its value which is &,#,174,;&lt;---(i cant seem to type its value out - it keeps getting formatted.) the correct syntax is without the commas.<br>Any ideas? <br>
 
You should be able to use the REPLACE function in VB. <p>Steve<br><a href=mailto:tribesaddict@swbell.net>tribesaddict@swbell.net</a><br><a href= > </a><br>
 
Try something like this:<br><br>&nbsp;&nbsp;&nbsp;a$ = &quot;This is registered (R) so don't use it.&quot;<br><br>&nbsp;&nbsp;&nbsp;a$ = Replace(a$, &quot;(R)&quot;, CHR$(174))<br><br>&nbsp;&nbsp;&nbsp;good luck<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top