Re: PHP List and Split commands

2004-06-13 Thread Troy Rollins
On Jun 14, 2004, at 12:24 AM, [EMAIL PROTECTED] wrote: I'm looking for a command in Rev like the following PHP command... list( $tVar01, $tVar02, $tVar03)= split ("\|", $line); there's a command in transcript that works similar to the PHP split command.. (i don't have anything with me at this compu

RE: PHP List and Split commands

2004-06-13 Thread [EMAIL PROTECTED]
> > I'm looking for a command in Rev like the following PHP command... > > list( $tVar01, $tVar02, $tVar03)= split ("\|", $line); there's a command in transcript that works similar to the PHP split command.. (i don't have anything with me at this computer to reference to, but i've been using it

RE: PHP List and Split commands

2004-06-13 Thread Phil Davis
I'm no PHP expert, but it seems like you could do this: -- make line var into an numerically-keyed array split tLine with "|" -- make array elements available as simple vars put tLine[1] into tVar01 -- first key is 1, not 0 put tLine[2] into tVar02 put tLine[3] into tVar03

Re: PHP List and Split commands

2004-06-13 Thread Jan Schenkel
--- Derek Bump <[EMAIL PROTECTED]> wrote: > I'm looking for a command in Rev like the following > PHP command... > list( $tVar01, $tVar02, $tVar03)= split ("\|", > $line); > > If this exists in Rev then it would make my life a > whole lot easier. > > > Derek Bump > Hi Derek, As far as I can s