AlStaff@... wrote: > > >My problem is the following: the line below > >PRINT FN instrReverse("one two three four five six seven","two",0,0) > >returns 0. Is this normal? > > You have the strings backwards. Doing this: > PRINT FN instrReverse("two", "one two three four five six seven", 0, 0) > I get 5. > > Al Staffieri Jr. > GLOOPS! I knew I really needed sleep, besides I went to a have a little nap at 2 PM and all of a sudden I woke up a 7:30 PM (absolutely true!). I'm wondering now where the world has gone during my sleep. Well, I should have thought that Microsoft gets it all backward. Thanks. -- Cheers Alain ----------------------------------------------------- FB^3 in Europe: http://euro.futurebasic.com/ FB II Pouch: http://www.pixmix.com/FB/outils.html -----------------------------------------------------