<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Re: problem with array</TITLE>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<STYLE type=text/css>BLOCKQUOTE {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
DL {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
UL {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
OL {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
LI {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
</STYLE>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Yves,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Suppose you don't use "split", but set the
lineDelimeter and itemDelimiter accordingly. So you could say:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> set the lineDelimiter to
"|"</FONT></DIV>
<DIV><FONT face=Arial size=2> set the itemDelimiter to
"\"</FONT></DIV>
<DIV><FONT face=Arial size=2> put item 2 of line 3 of tData into
tSolution</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>... or something like that. Will this work for
you?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Ken Ray<BR>Sons of Thunder Software<BR>Email: <A
href="mailto:kray@sonsothunder.com">kray@sonsothunder.com</A><BR>Web site: <A
href="http://www.sonsothunder.com/">http://www.sonsothunder.com/</A></FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A href="mailto:yvescoppe@skynet.be" title=yvescoppe@skynet.be>Yves Coppé</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
href="mailto:use-revolution@lists.runrev.com"
title=use-revolution@lists.runrev.com>use-revolution@lists.runrev.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, August 11, 2002 9:21
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: problem with array</DIV>
<DIV><BR></DIV>
<BLOCKQUOTE cite type="cite">Yves,<BR><BR>Can you be a bit more specific and
give an example of what is in 'tData' and<BR>what you want to
return?<BR><BR>Ken Ray<BR>Sons of Thunder Software<BR>Email: <A
href="mailto:kray@sonsothunder.com">kray@sonsothunder.com</A></BLOCKQUOTE>
<BLOCKQUOTE cite type="cite">Web site: <A
href="http://www.sonsothunder.com/">http://www.sonsothunder.com/</A></BLOCKQUOTE>
<BLOCKQUOTE cite type="cite"><BR></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>tData is for example :</DIV>
<DIV><BR></DIV>
<DIV>12/05/2002</DIV>
<DIV>\Motifs</DIV>
<DIV>xxxx</DIV>
<DIV>\Solution</DIV>
<DIV>yyy</DIV>
<DIV>\Proposition</DIV>
<DIV>zzz<FONT color=#000000 face=Courier size=+2>|</FONT>31/05/2002</DIV>
<DIV>\Motifs</DIV>
<DIV>xxxxxxxxx</DIV>
<DIV>\Solution</DIV>
<DIV>yyyyyyyy<FONT color=#000000 face=Courier size=+2>|</FONT></DIV>
<DIV><FONT color=#000000 face=Courier size=+2><BR></FONT></DIV>
<DIV><FONT color=#000000 face=Courier size=+2><BR></FONT></DIV>
<DIV><FONT color=#000000 face=Courier size=+2>so I write</FONT></DIV>
<DIV><FONT color=#000000 face=Courier size=+2>split tdata using "|</FONT>" and
"\"</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>and I'd like to know f. ex." the solution of 31/05/2002"</DIV>
<DIV>= record 2 (<FONT color=#000000 face=Courier size=+2>using
"|</FONT>")</DIV>
<DIV> = item 2 (<FONT color=#000000 face=Courier size=+2>using
"\</FONT>")</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>Cheers.</DIV><X-SIGSEP><PRE>--
</PRE></X-SIGSEP>
<DIV>Greetings.<BR><BR>Yves COPPE<BR><BR>Email :
yvescoppe@skynet.be</DIV></BLOCKQUOTE></BODY></HTML>