Ver Mensaje Individual
  #3 (permalink)  
Antiguo 10/08/2006, 17:35
Avatar de Alex Reyes
Alex Reyes
 
Fecha de Ingreso: diciembre-2005
Ubicación: Camarillo, CA
Mensajes: 242
Antigüedad: 19 años, 2 meses
Puntos: 2
Creo que esto ya lo había mencionado antes.

Utiliza substring, pasando como indice inicial 0 y el otro parametro como la longitud de la cadena que quiers obtener.

String testString;
testString =
"This is a String";
MessageBox.Show(testString.Substring(0, 8));
__________________
Alex Reyes
http://jalexreyes.spaces.live.com