Find what?
- Posted by Paul Kerslake <paulk at UNISERVE.COM> Nov 06, 2000
- 456 views
------=_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> </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> </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> </DIV> <DIV><FONT face=3DArial size=3D2>findit=3Dfind("e", word)</FONT></DIV> <DIV><FONT face=3DArial size=3D2>? findit</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Does it give a [2..3] = back?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>-->Thanks</FONT></DIV> <DIV><FONT face=3DArial size=3D2>--->Thomas</FONT></DIV> <DIV><FONT face=3DArial = ------=_NextPart_000_0029_01C04806.4E6F6220--