PHP List and Split commands

Troy Rollins troy at rpsystems.net
Mon Jun 14 00:49:21 EDT 2004


On Jun 14, 2004, at 12:24 AM, shaosean at unitz.ca 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 computer to reference
> to, but i've been using it in the current project i'm working on).. 
> i'll
> post the command later tonight, after work..

Uh... wouldn't happen to be "split", would it?  ;-)

"Split" transforms a list into an array.

Or does the PHP version do something different than that?

--
Troy
RPSystems, Ltd.
http://www.rpsystems.net



More information about the use-livecode mailing list