Ver Mensaje Individual
  #4 (permalink)  
Antiguo 21/01/2011, 10:41
politikaperu
 
Fecha de Ingreso: diciembre-2010
Ubicación: Perú
Mensajes: 14
Antigüedad: 13 años, 4 meses
Puntos: 0
Respuesta: Agregar comas, menos al ultimo

IsaBelM y sjam7 gracias por responder. Les cuento que probé con esto:

<% while NOT rsTypeListing.EOF
Dim strText , arrText , intCount
strText = FormatNumber((rsTypeListing.Fields.Item("PER").Val ue), 0, -2, -2, -2)
arrText = Split(strText,",")
For intCount = 0 to UBound(arrText)
Response.Write arrText(intCount) & ","
Next
rsTypeListing.movenext()
Wend %>
Da como resultado: 7,7,2,6,7, separa los valores con ,. Hasta ahí todo bien.
Lo que me falta es que la última coma no aparezca. Cómo hago eso..... Gracias por su ayuda.