Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

serpaulo

Replace nao funciona

Recommended Posts

E ai povo beleza, entao peguei uns exemplos de replace aqui e tentei fazer mas nao esta substituindo.

 

O codigo é esse.

 

<%

 

nome=Request.Form("nome")

email=Request.Form("email")

idade=Request.Form("idade")

cidade=Request.Form("cidade")

estado=Request.Form("estado")

comment=Request.Form("comment")

 

smlcomment = Replace(smlcomment," :huh: ","<img src=../Imagens/Carinhas/1.gif>")

smlcomment = Replace(smlcomment," :o ","<img src=../Imagens/Carinhas/2.gif>")

smlcomment = Replace(smlcomment," ;) ","<img src=../Imagens/Carinhas/3.gif>")

smlcomment = Replace(smlcomment," :P ","<img src=../Imagens/Carinhas/4.gif>")

smlcomment = Replace(smlcomment," :D ","<img src=../Imagens/Carinhas/5.gif>")

smlcomment = Replace(smlcomment," http://forum.imasters.com.br/public/style_emoticons/default/wub.gif ","<img src=../Imagens/Carinhas/17.gif>")

smlcomment = Replace(smlcomment," B) ","<img src=../Imagens/Carinhas/7.gif>")

smlcomment = Replace(smlcomment," :rolleyes: ","<img src=../Imagens/Carinhas/8.gif>")

smlcomment = Replace(smlcomment," <_< ","<img src=../Imagens/Carinhas/9.gif>")

smlcomment = Replace(smlcomment," :) ","<img src=../Imagens/Carinhas/10.gif>")

smlcomment = Replace(smlcomment," :angry: ","<img src=../Imagens/Carinhas/11.gif>")

smlcomment = Replace(smlcomment,":}","<img src=../Imagens/Carinhas/19.gif>")

smlcomment = Replace(smlcomment," :( ","<img src=../Imagens/Carinhas/12.gif>")

smlcomment = Replace(smlcomment," :unsure: ","<img src=../Imagens/Carinhas/13.gif>")

smlcomment = Replace(smlcomment," :blink: ","<img src=../Imagens/Carinhas/14.gif>")

smlcomment = Replace(smlcomment," http://forum.imasters.com.br/public/style_emoticons/default/ninja.gif ","<img src=../Imagens/Carinhas/15.gif>")

smlcomment = Replace(smlcomment,":S","<img src=../Imagens/Carinhas/21.gif>")

smlcomment = Replace(smlcomment," http://forum.imasters.com.br/public/style_emoticons/default/joia.gif ","<img src=../Imagens/Carinhas/16.gif>")

smlcomment = Replace(smlcomment," :wacko: ","<img src=../Imagens/Carinhas/18.gif>")

smlcomment = Replace(smlcomment," http://forum.imasters.com.br/public/style_emoticons/default/bye1.gif ","<img src=../Imagens/Carinhas/23.gif>")

smlcomment = Replace(smlcomment," http://forum.imasters.com.br/public/style_emoticons/default/hug.gif ","<img src=../Imagens/Carinhas/22.gif>")

 

Valeu pessoal

 

te +

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.