On Sun, Feb 14, 1999 at 01:56:25AM +0000, Nuno Carvalho wrote:
> 
>   Is there any function which search a sub-string in a string !?
sure strstr
> 
>  Example:
> 
>    String1 = "My name is Nuno" ;
>    SubString = "name" ;
> 
>    function_I _would_like_to_have (String1, SubString) ;
    thus strstr(String1, Substring);
returns a pointer to the first occurence of Substring in String1 or NULL if
SubString is not present in String1
Prototype of this and similar functions is in string.h

Colin
-- 
Colin Campbell  <[EMAIL PROTECTED]>

Reply via email to