Re: sub string



Carlos Pereira <carlos pehoe civil ist utl pt> said:
Regarding rindex, I found it in /usr/include/string.h, in the section
below, so apparently this call is recognized only in BSD-like systems.


FWIW:

Yes.  It's conformant to BSD 4.3 actually.

You're right to use the ANSI functions.  rindex() and index() are 
available for back compatibility.
-- 
Mike Sangrey
msangrey BlueFeltHat org
Landisburg, Pa.
                        "The first one last wins."
            "A net of highly cohesive details reveals the truth."






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