
16/03/2004, 11:26
|
| | Fecha de Ingreso: enero-2004
Mensajes: 154
Antigüedad: 21 años, 3 meses Puntos: 0 | |
Si tienes un array con los valores, p.e.
array[1]="alegre"
array[2]="triste"
array[3]="asustado"
haces un bucle usando replace
while i<topArray
texto=replace(texto,"("&array[i]&")","<img src=''>")
wend
con esto vas sustituyendo todos los textos que hay entre paréntesis por la imagen que selecciones. Puede ser a partir de otro array similar
texto=replace(texto,"("&array[i]&")","<img src='"&arrayImg[i]&"'''>")
Saludos!!! |