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

Ned to replace text with image

Status
Not open for further replies.

sharktech

Programmer
Jun 10, 2003
3
GB
HELPPPPPP!!

im a beginner asp programmer and am stuck im making a chat app and cant figure out for the life of me how to get it to replace this - :) for an image
 
can't help without seeing code.

user.gif

There's never time to do it right, but there's always time to do it over!
 
If your just wanting to replace it with image tags, you could use either a regular expression or the replace method:
Replace(expression,find,replacement)

so:
Response.Write Replace(myString,&quot;:)&quot;,&quot;<img src='images/smiley.gif'>&quot;)

-Tarwn

01010100 01101001 01100101 01110010 01101110 01101111 01101011 00101110 01100011 01101111 01101101
29 3K 10 3D 3L 3J 3K 10 32 35 10 3E 39 33 35 10 3K 3F 10 38 31 3M 35 10 36 3I 35 35 10 3K 39 3D 35 10 1Q 19
Do you know how hot your home computer is? I do:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top