1 <!DOCTYPE HTML PUBLIC
"-//W3O//DTD W3 HTML 2.0//EN">
2 <!-- This collection of hypertext pages is Copyright 1995, 1996 by Steve Summit. -->
3 <!-- This material may be freely redistributed and used -->
4 <!-- but may not be republished or sold without permission. -->
7 <link rev=
"owner" href=
"mailto:scs@eskimo.com">
8 <link rev=
"made" href=
"mailto:scs@eskimo.com">
9 <title>section
7.8.1: String Operations
</title>
10 <link href=
"sx10g.html" rev=precedes
>
11 <link href=
"sx10i.html" rel=precedes
>
12 <link href=
"sx10.html" rev=subdocument
>
15 <H2>section
7.8.1: String Operations
</H2>
18 <p>One thing to beware of is that
<TT>strcpy
</TT>'s
20 precisely, the strings pointed to by its
24 </p><p>Another string function we've seen is
<TT>strstr
</TT>:
25 </p><p><TT>strstr(s,t)
</TT> return pointer to first
<TT>t
</TT> in
<TT>s
</TT>, or
<TT>NULL
</TT> if not present
29 <a href=
"sx10g.html" rev=precedes
>prev
</a>
30 <a href=
"sx10i.html" rel=precedes
>next
</a>
31 <a href=
"sx10.html" rev=subdocument
>up
</a>
32 <a href=
"top.html">top
</a>
35 This page by
<a href=
"http://www.eskimo.com/~scs/">Steve Summit
</a>
36 //
<a href=
"copyright.html">Copyright
</a> 1995,
1996
37 //
<a href=
"mailto:scs@eskimo.com">mail feedback
</a>