diff options
| author | Joakim Verona | 2012-03-25 22:04:52 +0200 |
|---|---|---|
| committer | Joakim Verona | 2012-03-25 22:04:52 +0200 |
| commit | 75da28a3845b9dfa4e730cfa19c14edc52cbb222 (patch) | |
| tree | b04519bffcb21264cbe3ce8af13df7186548667f /doc/lispref/strings.texi | |
| parent | b827329a89291ed68dd017c53976be7ce5ed3b22 (diff) | |
| parent | f514f6f0e3f8bbeb5212d0337e5bda5a9a4eaeb5 (diff) | |
| download | emacs-75da28a3845b9dfa4e730cfa19c14edc52cbb222.tar.gz emacs-75da28a3845b9dfa4e730cfa19c14edc52cbb222.zip | |
upstream
Diffstat (limited to 'doc/lispref/strings.texi')
| -rw-r--r-- | doc/lispref/strings.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index 64d0986493a..7813283ade5 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi | |||
| @@ -508,6 +508,13 @@ are used. | |||
| 508 | @code{string-lessp} is another name for @code{string<}. | 508 | @code{string-lessp} is another name for @code{string<}. |
| 509 | @end defun | 509 | @end defun |
| 510 | 510 | ||
| 511 | @defun string-prefix-p string1 string2 &optional ignore-case | ||
| 512 | This function returns non-@code{nil} if @var{string1} is a prefix of | ||
| 513 | @var{string2}; i.e., if @var{string2} starts with @var{string1}. If | ||
| 514 | the optional argument @var{ignore-case} is non-@code{nil}, the | ||
| 515 | comparison ignores case differences. | ||
| 516 | @end defun | ||
| 517 | |||
| 511 | @defun compare-strings string1 start1 end1 string2 start2 end2 &optional ignore-case | 518 | @defun compare-strings string1 start1 end1 string2 start2 end2 &optional ignore-case |
| 512 | This function compares the specified part of @var{string1} with the | 519 | This function compares the specified part of @var{string1} with the |
| 513 | specified part of @var{string2}. The specified part of @var{string1} | 520 | specified part of @var{string2}. The specified part of @var{string1} |