]> git.lyx.org Git - features.git/blobdiff - src/support/lstrings.h
Add comment in lstrings.h
[features.git] / src / support / lstrings.h
index 52b6ee35969f79630ae9f3bea166eae8f8d3b423..23ac71216a1b1661df48aeaee8e603f745d93ae8 100644 (file)
@@ -229,6 +229,7 @@ docstring const ltrim(docstring const & a, char const * p = " ");
     will be the whole of the string if no delimiter is found.
     The return value is what follows delim, if anything. So the return
     value is the null string if no delimiter is found.
+    'a' and 'piece' must be different variables.
     Examples:
     \code
     s1= "a;bc"; s2= ""