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

is string-contains example wrong?



Hi,

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

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

Regards,
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.