[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

is string-contains example wrong?

This page is part of the web mail archives of SRFI 13 from before July 7th, 2015. The new archives for SRFI 13 contain all messages, not just those from before July 7th, 2015.


    (string-contains "eek -- what a geek." "ee"
                     12 18) ; Searches "a geek"
        => 14

is it right number? I count 15 characters before the match.

Vladimir V. Tsychevski
senior expert

                  Jet Infosystems
Krasnoproletarskaya 6,		Tel. (+7 095) 972-1182
Moscow 103006, Russia		Fax  (+7 095) 972-0791
Any opinions or recommendations herein are those of
the author and not of his computer.