1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>STD_SearchString</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">STD_SearchString <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></h1>
15<h2>Syntax</h2>
16<dl>
17  <dd>
18  <PRE><CODE>#include &lt;nitro/std.h&gt;
19
20char* STD_SearchString( char* srcp, const char* str );</CODE></PRE>
21  <PRE><CODE>char* STD_StrStr( char* srcp, const char* str );
22</CODE></PRE>
23  </dd>
24</dl>
25
26<h2>Arguments</h2>
27<table border="1" width="100%">
28  <tbody>
29    <TR>
30      <TD width="200"><EM><STRONG><FONT face="Courier New">srcp</FONT></STRONG></EM></TD>
31      <TD width="800">Specifies the pointer to the string to search.</TD>
32    </TR>
33    <TR>
34      <TD width="200"><EM><STRONG><FONT face="Courier New">str</FONT></STRONG></EM></TD>
35      <TD width="800">Specifies the string pointer that does the search.</TD>
36    </TR>
37  </tbody>
38</table>
39
40<h2>Return Values</h2>
41<p>
42Returns a pointer to the first position in the string <CODE>str</CODE> within the string <CODE>srcp</CODE>. If it's not there, it returns FALSE.
43</p>
44<H2>Description</H2>
45<P>String <CODE>str</CODE> is searched from string <CODE>srcp</CODE>. It carries out the same operation as the C standard function <CODE>strstr()</CODE>.</P>
46<p><CODE>STD_StrStr()</CODE> is defined as another name for <CODE>STD_SearchString()</CODE>.</p>
47<h2>See Also</h2>
48
49<H2>Revision History</H2>
50<P>2005/10/05 Initial version.</P>
51<hr><p>CONFIDENTIAL</p></body>
52</html>
53