Fwd: how to split string?

2005-08-07 Thread Chandan Ray

just i found itemDelimiter in lingo
it's so eeesy :-)

cheers

Begin forwarded message:


From: Chandan Ray [EMAIL PROTECTED]
Date: Sun Aug 7, 2005  1:32:42 PM Europe/Berlin
To: use-revolution@lists.runrev.com
Subject: how to split string?

hi there,

in perl we've a simple split-function:

$line = hello:world:today;
($first,$second,$third) = split(/\:/,$line);
print $first $second $third;

how can i do something same like this in lingo? could anybody please 
tell me?


best regards




++
chandan ray
helmutstr. 1a
40472 duesseldorf
germany

+49(0)178 75 41 700
http://www.raypoint.de



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Fwd: how to split string?

2005-08-07 Thread Derek Bump

Chandan Ray wrote:

just i found itemDelimiter in lingo
it's so eeesy :-)


An even easier way, and a lot closer to the Perl counterpart...

  split myVariable by :

Odd, I asked about the same thing over a year ago. :) More information 
on the split command is in the documentation.



Derek Bump
Dreamscape Software
___
Compress Photos for the Web with JPEGCompress
http://www.dreamscapesoftware.com/

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution