Document `string-suffix-p'.
* doc/lispref/strings.texi (Text Comparison): Document `string-suffix-p'.
This commit is contained in:
parent
fb14cb489a
commit
fa49b46991
3 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2014-01-09 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
|
||||
|
||||
* strings.texi (Text Comparison): Document `string-suffix-p'.
|
||||
|
||||
2014-01-07 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* files.texi (File Attributes): Fix superscipt typo.
|
||||
|
|
|
@ -521,6 +521,13 @@ the optional argument @var{ignore-case} is non-@code{nil}, the
|
|||
comparison ignores case differences.
|
||||
@end defun
|
||||
|
||||
@defun string-suffix-p suffix string &optional ignore-case
|
||||
This function returns non-@code{nil} if @var{suffix} is a suffix of
|
||||
@var{string}; i.e., if @var{string} ends with @var{suffix}. If the
|
||||
optional argument @var{ignore-case} is non-@code{nil}, the comparison
|
||||
ignorescase differences.
|
||||
@end defun
|
||||
|
||||
@defun compare-strings string1 start1 end1 string2 start2 end2 &optional ignore-case
|
||||
This function compares a specified part of @var{string1} with a
|
||||
specified part of @var{string2}. The specified part of @var{string1}
|
||||
|
|
1
etc/NEWS
1
etc/NEWS
|
@ -1133,6 +1133,7 @@ a non-nil `interactive-only' property.
|
|||
The value, if non-nil, is a regexp that specifies what to trim from
|
||||
the start and end of each substring.
|
||||
|
||||
+++
|
||||
** New function `string-suffix-p'.
|
||||
|
||||
** File-handling changes
|
||||
|
|
Loading…
Add table
Reference in a new issue