Thanks for all but i found a way to do it !
Regards

>
> Or you could use hash instead of string to store data.
>
> Hashes work basicly like arrays but you can use string as key/index value
> and assosiate it with another string.
>
> And if you like to give that hash ie. as parameter to a another
> php-script, one could use:
>
> $param = serialise($myHash);
>
> ...
>
> $hash = unserialise($param);
>
> .. you got the idea ? :)
>
>
> On Fri, 15 Nov 2002, Ewout de Boer wrote:
>
> > You could try something like this:
> >
> >
> > $verylongstring
> > $data = ... // your cut function
> > $verylongstring = substr($verylongstring, strln($data);
> >
> >
> >
> > regards,
> >
> > Ewout de Boer
> >
> > ----- Original Message -----
> > From: "Hacook" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, November 15, 2002 11:39 AM
> > Subject: [PHP] Need difficult help !
> >
> >
> > > Hi all,
> > > I have a very long charachter chain which is like that :
> > >
> > > Number*link*name*Number*link*name*Number*link*name*Number*link*name*
> > >
> > > I made a php script to cut it thanks to the "*" to make a list with a
> > > number, and the name hyperlinked to the link.
> > > The thing is that after i get a data (number, link or name), i use
> > > str_replace to cut it off the chain to get the next one.
> > > But as my numbers are sometime the same, i have troubles because it
cuts
> > all
> > > the same numbers off.
> > > Can i just cut one ?
> > > Thanks a lot for reading me and maybe answer me ? :-)
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> > >
> >
> >
> >
>
> --
> Lauri Jakku [ lauridotjakkuatwapicedotcom ]     \-^-/  .- Idiots try to
maintain
> Tel : +358 40 823 6353 / +358 6  321 6159      ( o o )    order, We can
control
> Addr: Ahventie 22-24 N 150/1, 62500 Vaasa   _o00o___o00o_ chaos. {
nospam.org }
> http://www.wapice.com/~lauri/gnupg.key.asc
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to