Ver Mensaje Individual
  #2 (permalink)  
Antiguo 11/03/2007, 07:37
Avatar de Adler
Adler
Colaborador
 
Fecha de Ingreso: diciembre-2006
Mensajes: 4.671
Antigüedad: 18 años, 3 meses
Puntos: 126
Re: Problema con comillas

Prueba esta función

Código:
Function Cortar (str, longitud)
' Corta una cadena 'str' a la longitud especificada. Corta por la izda
if Len(str) => longitud then
	Cortar=Left(str, longitud)&"[...]"
else
	Cortar=str
end if

End Function ' Cortar
luego la sacas

Código:
Cortar(RS("descripcion"),100)
Suerte