ICU-399 Added more documentation on strstr
X-SVN-Rev: 1885
This commit is contained in:
parent
f18ed92a8e
commit
874a1b6f38
@ -71,7 +71,11 @@ u_strchr(const UChar *s,
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Find the first occurrence of a substring in a string.
|
* Find the first occurrence of a substring in a string.
|
||||||
* ### TBD
|
*
|
||||||
|
* @param s The string to search.
|
||||||
|
* @return A pointer to the first occurrence of <TT>substring</TT> in
|
||||||
|
* <TT>s</TT>, or a null pointer if <TT>substring</TT>
|
||||||
|
* is not in <TT>s</TT>.
|
||||||
*/
|
*/
|
||||||
U_CAPI UChar * U_EXPORT2
|
U_CAPI UChar * U_EXPORT2
|
||||||
u_strstr(const UChar *s, const UChar *substring);
|
u_strstr(const UChar *s, const UChar *substring);
|
||||||
@ -81,9 +85,9 @@ u_strstr(const UChar *s, const UChar *substring);
|
|||||||
*
|
*
|
||||||
* @param s The string to search.
|
* @param s The string to search.
|
||||||
* @param c The code point (0..0x10ffff) to find.
|
* @param c The code point (0..0x10ffff) to find.
|
||||||
* @return A pointer to the first occurrence of <code>c</code> in <code>s</code>,
|
* @return A pointer to the first occurrence of <TT>c</TT> in <TT>s</TT>,
|
||||||
* or a <code>NULL</code> pointer if there is no such character.
|
* or a null pointer if there is no such character.
|
||||||
* If <code>c</code> is represented with several UChars, then the returned
|
* If <TT>c</TT> is represented with several UChars, then the returned
|
||||||
* pointer will point to the first of them.
|
* pointer will point to the first of them.
|
||||||
* @draft
|
* @draft
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user