Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/12/2002, 07:20
Avatar de g_susdaniel
g_susdaniel
 
Fecha de Ingreso: mayo-2001
Ubicación: Frente al Monitor :þ
Mensajes: 995
Antigüedad: 24 años
Puntos: 0
Sí lo vas a usar una sola vez en tu site, puede usarlo así...

Código PHP:
<%
enviado Request.QueryString("envio")
if 
enviado <> "si" Then 
%>
<
form action="?envio=si" method="post">
<
center>
<
input type="text" name="xxy">
<
br>
<
input type="Submit">
</
center>
</
form>
<%
Else
xxy Request.Form("xxy")
x2 CInt(Len(xxy)/2)
xxLeft(xxy,x2)
yright(xxy,x2)

Response.Write "Todos los numeros: "&xxy&"<br>Mostrados de "&x2&" en "&x2&" y son: "&Len(xxy)&"<br>Primeros "&x2&" : "&xx&"<br>Segundos "&x2&" : "&y

End 
If
%> 
Sí lo necesitas mas de una vez haz una funcion , eso de arriba lo acabo de hacer ahorita respondiendote, de seguro es optimizable

Salu2
__________________
No, no no... no hay firma...