BString docs: document IStartsWith() and IEndsWith()
This commit is contained in:
@@ -2033,6 +2033,49 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\fn bool BString::IStartsWith(const BString& string) const
|
||||||
|
\brief Returns whether or not the BString starts with \a string
|
||||||
|
case-insensitively.
|
||||||
|
|
||||||
|
\param string The \a string to search for.
|
||||||
|
|
||||||
|
\return \c true if the BString started with \a string case-insensitively,
|
||||||
|
\c false otherwise.
|
||||||
|
|
||||||
|
\since Haiku R1
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\fn bool BString::IStartsWith(const char* string) const
|
||||||
|
\brief Returns whether or not the BString starts with \a string
|
||||||
|
case-insensitively.
|
||||||
|
|
||||||
|
\param string The \a string to search for.
|
||||||
|
|
||||||
|
\return \c true if the BString started with \a string case-insensitively,
|
||||||
|
\c false otherwise.
|
||||||
|
|
||||||
|
\since Haiku R1
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\fn bool BString::IStartsWith(const char* string, int32 length) const
|
||||||
|
\brief Returns whether or not the BString starts with \a length characters
|
||||||
|
of \a string case-insensitively.
|
||||||
|
|
||||||
|
\param string The \a string to search for.
|
||||||
|
\param length The number of characters (bytes) of \a string to search for.
|
||||||
|
|
||||||
|
\return \c true if the BString started with \a length characters of
|
||||||
|
\a string case-insensitively, \c false otherwise.
|
||||||
|
|
||||||
|
\since Haiku R1
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\fn bool BString::EndsWith(const BString& string) const
|
\fn bool BString::EndsWith(const BString& string) const
|
||||||
\brief Returns whether or not the BString ends with \a string.
|
\brief Returns whether or not the BString ends with \a string.
|
||||||
@@ -2072,6 +2115,49 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\fn bool BString::IEndsWith(const BString& string) const
|
||||||
|
\brief Returns whether or not the BString ends with \a string
|
||||||
|
case-insensitively.
|
||||||
|
|
||||||
|
\param string The \a string to search for.
|
||||||
|
|
||||||
|
\return \c true if the BString ended with \a string case-insensitively,
|
||||||
|
\c false otherwise.
|
||||||
|
|
||||||
|
\since Haiku R1
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\fn bool BString::IEndsWith(const char* string) const
|
||||||
|
\brief Returns whether or not the BString ends with \a string
|
||||||
|
case-insensitively.
|
||||||
|
|
||||||
|
\param string The \a string to search for.
|
||||||
|
|
||||||
|
\return \c true if the BString ended with \a string case-insensitively,
|
||||||
|
\c false otherwise.
|
||||||
|
|
||||||
|
\since Haiku R1
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\fn bool BString::IEndsWith(const char* string, int32 length) const
|
||||||
|
\brief Returns whether or not the BString ends with \a length characters
|
||||||
|
of \a string case-insensitively.
|
||||||
|
|
||||||
|
\param string The \a string to search for.
|
||||||
|
\param length The number of characters (bytes) of \a string to search for.
|
||||||
|
|
||||||
|
\return \c true if the BString ended with \a length characters of
|
||||||
|
\a string case-insensitively, \c false otherwise.
|
||||||
|
|
||||||
|
\since Haiku R1
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
//! @}
|
//! @}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user