* Thus wrote Duncan Hill ([EMAIL PROTECTED]):
> On Friday 19 Sep 2003 10:20, David T-G wrote:
> > Hi, all --
> >
> > Now it's my turn to ask a simple question, or one that sure sounds like
> > it should be...
> >
> > I have a 14-char date string like "20030917181909" and I need to break it
> > into
Make your own function, for example:
function transformDate($format,$str) {
$d = Array();
for($i=0;$imailto:[EMAIL PROTECTED]
Enviado el: viernes, 19 de septiembre de 2003 11:20
Para: PHP General list
Asunto: [PHP] breaking a string into chunks
Importancia: Baja
Hi, all --
Now it'
Duncan, et al --
...and then Duncan Hill said...
%
% On Friday 19 Sep 2003 10:20, David T-G wrote:
% >
% > I have a 14-char date string like "20030917181909" and I need to break it
% > into its component parts for a more readable "2003-09-17 18:19:09" view.
% > How can I do that? Do I really nee
you can call preg_match, and only once
David T-G wrote:
Hi, all --
Now it's my turn to ask a simple question, or one that sure sounds like
it should be...
I have a 14-char date string like "20030917181909" and I need to break it
into its component parts for a more readable "2003-09-17 18:19:09"
On Friday 19 Sep 2003 10:20, David T-G wrote:
> Hi, all --
>
> Now it's my turn to ask a simple question, or one that sure sounds like
> it should be...
>
> I have a 14-char date string like "20030917181909" and I need to break it
> into its component parts for a more readable "2003-09-17 18:19:09"
Hi, all --
Now it's my turn to ask a simple question, or one that sure sounds like
it should be...
I have a 14-char date string like "20030917181909" and I need to break it
into its component parts for a more readable "2003-09-17 18:19:09" view.
How can I do that? Do I really need to call substr
> I was looking to take a string like Dan or Dan is great and return it
> like
>
> D
> a
> n...
http://www.php.net/manual/en/function.wordwrap.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
On Fri, 26 Oct 2001 22:36, Dan McCullough wrote:
> I was looking to take a string like Dan or Dan is great and return it
> like
>
> D
> a
> n
>
> or
>
> D
> a
> n
>
> i
> s
>
> g
> r
> e
> a
> t
>
> is it the str function that does that and if so does someone have an
> example?
>
> thanks
You can
I was looking to take a string like Dan or Dan is great and return it like
D
a
n
or
D
a
n
i
s
g
r
e
a
t
is it the str function that does that and if so does someone have an example?
thanks
=
Dan McCullough
---
"Theres no
9 matches
Mail list logo