Find what?

new topic     » topic index » view thread      » older message » newer message

------=_NextPart_000_0029_01C04806.4E6F6220
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi evr'yone

I was wondering about find(). What if there are 2 of the same characters =
in a sequence? Like this:

sequence word
word=3D"beet"
atom findit

findit=3Dfind("e", word)
? findit

Does it give a [2..3] back?

-->Thanks
--->Thomas
-------/\=3D=3D=3D=3D

------=_NextPart_000_0029_01C04806.4E6F6220
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi evr'yone</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I was wondering about find(). What if =
there are 2=20
of the same characters in a sequence? Like this:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>sequence word</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>word=3D"beet"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>atom findit</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>findit=3Dfind("e", word)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>? findit</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Does it give a [2..3] =
back?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>--&gt;Thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>---&gt;Thomas</FONT></DIV>
<DIV><FONT face=3DArial =

------=_NextPart_000_0029_01C04806.4E6F6220--

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu