From c097750262cc7d56cb7ed97a0849329227f1844d Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Fri, 19 Nov 2010 09:10:03 +0100 Subject: [PATCH] docs/strbuf.txt: added strbuf_rchop --- docs/strbuf.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/strbuf.txt b/docs/strbuf.txt index fec57d9..29f035c 100644 --- a/docs/strbuf.txt +++ b/docs/strbuf.txt @@ -50,6 +50,10 @@ NOTE: This doesn't shrink the memory block Removes space characters from the beginning (ltrim) of the ->buf string, the end (rtrim) or both (trim). +`strbuf_rchop()`:: + + Chops off everything to the right of the rightmost 'ch' encountered in the string. + `strbuf_rev()`:: Reverses the ->buf string.