From: Richard M. Stallman Date: Sun, 4 Mar 2007 18:20:37 +0000 (+0000) Subject: (Text Representations): Move string-bytes here. X-Git-Tag: emacs-pretest-22.0.96~278 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=62f114b3c4f20f91dd9754196871874a937863dd;p=emacs.git (Text Representations): Move string-bytes here. --- diff --git a/lispref/nonascii.texi b/lispref/nonascii.texi index d733cc80860..3661079c56e 100644 --- a/lispref/nonascii.texi +++ b/lispref/nonascii.texi @@ -111,6 +111,13 @@ out of range, the value is @code{nil}. 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