Mercurial > emacs
comparison lispref/strings.texi @ 90147:e1fbb019c538
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-39
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 258-271)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 66)
- Update from CVS
author | Miles Bader <miles@gnu.org> |
---|---|
date | Thu, 21 Apr 2005 05:59:53 +0000 |
parents | 29e773288013 abfccde686bf |
children | b7da78284d4c |
comparison
equal
deleted
inserted
replaced
90146:a4445dd2a017 | 90147:e1fbb019c538 |
---|---|
72 a key sequence, you must use a vector instead of a string. | 72 a key sequence, you must use a vector instead of a string. |
73 @xref{Character Type}, for more information about the representation of meta | 73 @xref{Character Type}, for more information about the representation of meta |
74 and other modifiers for keyboard input characters. | 74 and other modifiers for keyboard input characters. |
75 | 75 |
76 Strings are useful for holding regular expressions. You can also | 76 Strings are useful for holding regular expressions. You can also |
77 match regular expressions against strings (@pxref{Regexp Search}). The | 77 match regular expressions against strings with @code{string-match} |
78 functions @code{match-string} (@pxref{Simple Match Data}) and | 78 (@pxref{Regexp Search}). The functions @code{match-string} |
79 @code{replace-match} (@pxref{Replacing Match}) are useful for | 79 (@pxref{Simple Match Data}) and @code{replace-match} (@pxref{Replacing |
80 decomposing and modifying strings based on regular expression matching. | 80 Match}) are useful for decomposing and modifying strings after |
81 matching regular expressions against them. | |
81 | 82 |
82 Like a buffer, a string can contain text properties for the characters | 83 Like a buffer, a string can contain text properties for the characters |
83 in it, as well as the characters themselves. @xref{Text Properties}. | 84 in it, as well as the characters themselves. @xref{Text Properties}. |
84 All the Lisp primitives that copy text from strings to buffers or other | 85 All the Lisp primitives that copy text from strings to buffers or other |
85 strings also copy the properties of the characters being copied. | 86 strings also copy the properties of the characters being copied. |
546 @comment node-name, next, previous, up | 547 @comment node-name, next, previous, up |
547 @section Conversion of Characters and Strings | 548 @section Conversion of Characters and Strings |
548 @cindex conversion of strings | 549 @cindex conversion of strings |
549 | 550 |
550 This section describes functions for conversions between characters, | 551 This section describes functions for conversions between characters, |
551 strings and integers. @code{format} and @code{prin1-to-string} | 552 strings and integers. @code{format} (@pxref{Formatting Strings}) |
553 and @code{prin1-to-string} | |
552 (@pxref{Output Functions}) can also convert Lisp objects into strings. | 554 (@pxref{Output Functions}) can also convert Lisp objects into strings. |
553 @code{read-from-string} (@pxref{Input Functions}) can ``convert'' a | 555 @code{read-from-string} (@pxref{Input Functions}) can ``convert'' a |
554 string representation of a Lisp object into an object. The functions | 556 string representation of a Lisp object into an object. The functions |
555 @code{string-make-multibyte} and @code{string-make-unibyte} convert the | 557 @code{string-make-multibyte} and @code{string-make-unibyte} convert the |
556 text representation of a string (@pxref{Converting Representations}). | 558 text representation of a string (@pxref{Converting Representations}). |