# HG changeset patch # User Richard M. Stallman # Date 1173032437 0 # Node ID 5799c1b80970a5cad9f7b4fdf67814373afcd8ac # Parent b996cc5f189699e894d4f51e0728fb09c4f4b936 (Text Representations): Move string-bytes here. diff -r b996cc5f1896 -r 5799c1b80970 lispref/nonascii.texi --- 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