strstr()
Nuno Carvalho wrote:
>
> Hi,
>
> Is there any function which search a sub-string in a string !?
>
> Example:
>
> String1 = "My name is Nuno" ;
> SubString = "name" ;
>
> function_I _would_like_to_have (String1, SubString) ;
>
> As "name" exist on String1 it should return something like: 1 or
> anything else ...
>
> Thanks.
>
> Best regards,
> Nuno Carvalho
>
> จจจจจจจจจจจจจจจจจจจจจจจจจจจจจจ
> Nuno Emanuel F. Carvalho
> Dep. Informatics Engineering
> University of Coimbra
>
> PGP key available at finger
> จจจจจจจจจจจจจจจจจจจจจจจจจจจจจจ