🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #3436

Re: PHP Script

#3436
From: Victor Ramiro
Date: Wed, 19 Jan 2005 16:02
20 lines
1681 bytes
XPUSER <[NOSPAM]_XP_@_vtr.net> wrote:
> Hola, me est?n pidiendo en mi pega, una funci?n en php, que haga lo
> siguiente:
> 
> Entre un string, de largo X, y que d?ndole el tama?o que se quiere Y, que
> autom?ticamente me divida el string en varios strings independientes, de tal
> forma que la frase de largo X quede dividida "sin cortes", que solo corte en
> espacios en blanco, y me genere varios string... se entiende?
> 
> Gracias por su ayuda. 
> 

No te entenci muy bien :)
pero puedes mirar en cl.php.net la funcion explode() para separar
el string por los espacios en blanco.

salu2
--
Victor A. Ramiro Cid - LU #171397 
mailto:<vramiro@SIN_ESTOdcc.uchile.cl>  http://www.dcc.uchile.cl/~vramiro
Technical Details
Message-ID: <csm0b4$kf1$1@helcaraxe.dcc.uchile.cl>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!news.cec.uchile.cl!helcaraxe.dcc.uchile.cl!not-for-mail
References: <cslsfc$ebf$1@news1.nivel5.cl>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,313bb42599c00dc
X-Google-Attributes: gid1593cb,public
X-Google-Language: SPANISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!news.cec.uchile.cl!helcaraxe.dcc.uchile.cl!not-for-mail
From: vramiro@SINESTO.dcc.uchile.cl (Victor Ramiro)
Newsgroups: chile.comp.programacion
Subject: Re: PHP Script
Date: Wed, 19 Jan 2005 16:02:44 +0000 (UTC)
Organization: DCC - Universidad de Chile
Lines: 21
Sender: Victor Alejandro Ramiro Cid <vramiro@anakena.dcc.uchile.cl>
Message-ID: <csm0b4$kf1$1@helcaraxe.dcc.uchile.cl>
References: <cslsfc$ebf$1@news1.nivel5.cl>
NNTP-Posting-Host: 192.80.24.3
X-Trace: helcaraxe.dcc.uchile.cl 1106150564 20961 192.80.24.3 (19 Jan 2005 16:02:44 GMT)
X-Complaints-To: newsmaster@dcc.uchile.cl
NNTP-Posting-Date: Wed, 19 Jan 2005 16:02:44 +0000 (UTC)
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (Linux/2.6.10-gentoo-r4 (i686))