Ver Mensaje Individual
  #2 (permalink)  
Antiguo 05/04/2002, 16:45
EDGARDO MOGUELLA
 
Fecha de Ingreso: noviembre-2001
Ubicación: Groningen
Mensajes: 175
Antigüedad: 23 años, 6 meses
Puntos: 0
Re: Destacar parte de un string

HOLA,

LO QUE YO HARIA SERIA EN CADA CAMPO DE CADA REGISTRO DEVUELTO UN REEMPLAZO DEL "STRING" BUSCADO POR EL MISMO STRING EN UN FORMATO RESALTADO.

para eso podes usar la funcion replace de VBS

la sintaxis de esta es:
Returns a string in which a specified substring has been replaced with another substring a specified number of times.

Replace(expression, find, replacewith[, start[, count[, compare]]])

Arguments
expression
Required. String expression containing substring to replace.
find
Required. Substring being searched for.
replacewith
Required. Replacement substring.
start
Optional. Position within expression where substring search is to begin. If omitted, 1 is assumed. Must be used in conjunction with count.
count
Optional. Number of substring substitutions to perform. If omitted, the default value is -1, which means make all possible substitutions. Must be used in conjunction with start.
compare
Optional. Numeric value indicating the kind of comparison to use when evaluating substrings. See Settings section for values. If omitted, the default value is 0, which means perform a binary comparison.