Mercurial > emacs
changeset 76305:5799c1b80970
(Text Representations): Move string-bytes here.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 04 Mar 2007 18:20:37 +0000 |
parents | b996cc5f1896 |
children | f64aa3622a9d |
files | lispref/nonascii.texi |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/nonascii.texi Sun Mar 04 18:20:15 2007 +0000 +++ b/lispref/nonascii.texi Sun Mar 04 18:20:37 2007 +0000 @@ -111,6 +111,13 @@ Return @code{t} if @var{string} is a multibyte string. @end defun +@defun string-bytes string +@cindex string, number of bytes +This function returns the number of bytes in @var{string}. +If @var{string} is a multibyte string, this can be greater than +@code{(length @var{string})}. +@end defun + @node Converting Representations @section Converting Text Representations