From a88e2a962855b821584ccfb641dad7a6f338d9f8 Mon Sep 17 00:00:00 2001 From: Kevin Ryde Date: Tue, 12 Jul 2005 00:42:10 +0000 Subject: [PATCH] (String Selection): In string-pad, don't say anything about sharing strings, decided against doing that. (Miscellaneous String Operations): Ditto in string-filter and string-delete. --- doc/ref/api-data.texi | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/doc/ref/api-data.texi b/doc/ref/api-data.texi index 0895cc2fa..75462ef91 100755 --- a/doc/ref/api-data.texi +++ b/doc/ref/api-data.texi @@ -2816,10 +2816,6 @@ characters. (string-pad-right "x" 3) @result{} "x " (string-pad-right "abcde" 3) @result{} "abc" @end example - -The return string may share storage with @var{s}, or it can be @var{s} -itself (if @var{start} to @var{end} is the whole string and it's -already @var{len} characters). @end deffn @deffn {Scheme Procedure} string-trim s [char_pred [start [end]]] @@ -3606,7 +3602,7 @@ of @var{s}. @deffn {Scheme Procedure} string-filter s char_pred [start [end]] @deffnx {C Function} scm_string_filter (s, char_pred, start, end) Filter the string @var{s}, retaining only those characters which -satisfy @var{char_pred}. The result may share storage with @var{s}. +satisfy @var{char_pred}. If @var{char_pred} is a procedure, it is applied to each character as a predicate, if it is a character, it is tested for equality and if it @@ -3615,8 +3611,7 @@ is a character set, it is tested for membership. @deffn {Scheme Procedure} string-delete s char_pred [start [end]] @deffnx {C Function} scm_string_delete (s, char_pred, start, end) -Delete characters satisfying @var{char_pred} from @var{s}. The result -may share storage with @var{s}. +Delete characters satisfying @var{char_pred} from @var{s}. If @var{char_pred} is a procedure, it is applied to each character as a predicate, if it is a character, it is tested for equality and if it