diff --git a/src/builtin_functions.c b/src/builtin_functions.c index 2ec664f85dadc8d320be6751dfb228183cb969c9..13a8666237751b938a243c26baa4423fcb45ee70 100644 --- a/src/builtin_functions.c +++ b/src/builtin_functions.c @@ -5,7 +5,7 @@ \*/ /**/ #include "global.h" -RCSID("$Id: builtin_functions.c,v 1.363 2001/04/18 17:12:58 marcus Exp $"); +RCSID("$Id: builtin_functions.c,v 1.364 2001/05/02 09:47:23 noring Exp $"); #include "interpret.h" #include "svalue.h" #include "pike_macros.h" @@ -3155,8 +3155,10 @@ static struct pike_string * replace_many(struct pike_string *str, *! This function can do several kinds replacement operations, the *! different syntaxes do different things as follows: *! - *! If all the arguments are strings, a copy of @[s] with every occurrence - *! of @[from] replaced with @[to] will be returned. + *! If all the arguments are strings, a copy of @[s] with every + *! occurrence of @[from] replaced with @[to] will be returned. + *! Special case: @[to] will be inserted between every character in + *! @[s] if @[from] is the empty string. *! *! If the first argument is a string, and the others array(string), a string *! with every occurrance of @[from][@i{i@}] in @[s] replaced with