mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
Clarify comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25668 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
14be46fd4b
commit
ab6ecc9fea
@ -183,9 +183,10 @@ docstring const trim(docstring const & a, char const * p = " ");
|
|||||||
*/
|
*/
|
||||||
std::string const trim(std::string const & a, char const * p = " ");
|
std::string const trim(std::string const & a, char const * p = " ");
|
||||||
|
|
||||||
/** Trims characters off the end of a string.
|
/** Trims characters off the end of a string, removing any character
|
||||||
|
in p.
|
||||||
\code
|
\code
|
||||||
rtrim("abccc", "c") == "ab".
|
rtrim("abcde", "dec") == "ab".
|
||||||
\endcode
|
\endcode
|
||||||
*/
|
*/
|
||||||
std::string const rtrim(std::string const & a, char const * p = " ");
|
std::string const rtrim(std::string const & a, char const * p = " ");
|
||||||
@ -193,7 +194,7 @@ docstring const rtrim(docstring const & a, char const * p = " ");
|
|||||||
|
|
||||||
/** Trims characters off the beginning of a string.
|
/** Trims characters off the beginning of a string.
|
||||||
\code
|
\code
|
||||||
("ababcdef", "ab") = "cdef"
|
("abbabcdef", "ab") = "cdef"
|
||||||
\endcode
|
\endcode
|
||||||
*/
|
*/
|
||||||
std::string const ltrim(std::string const & a, char const * p = " ");
|
std::string const ltrim(std::string const & a, char const * p = " ");
|
||||||
|
Loading…
Reference in New Issue
Block a user