aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/strings.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi
index 958ae4c0a15..c65d839a028 100644
--- a/doc/lispref/strings.texi
+++ b/doc/lispref/strings.texi
@@ -381,13 +381,13 @@ The default value of @var{separators} for @code{split-string}. Its
381usual value is @w{@code{"[ \f\t\n\r\v]+"}}. 381usual value is @w{@code{"[ \f\t\n\r\v]+"}}.
382@end defvar 382@end defvar
383 383
384@defun slice-string string regexp 384@defun string-slice string regexp
385Split @var{string} into a list of strings on @var{regexp} boundaries. 385Split @var{string} into a list of strings on @var{regexp} boundaries.
386As opposed to @code{split-string}, the boundaries are included in the 386As opposed to @code{split-string}, the boundaries are included in the
387result set: 387result set:
388 388
389@example 389@example
390(slice-string " two words " " +") 390(string-slice " two words " " +")
391 @result{} (" two" " words" " ") 391 @result{} (" two" " words" " ")
392@end example 392@end example
393@end defun 393@end defun