Mercurial > emacs
comparison lispref/strings.texi @ 69420:337a846a85de
(Creating Strings): Fix Texinfo usage.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Sat, 11 Mar 2006 22:42:14 +0000 |
parents | 067115a6e738 |
children | e9b7f9dec32c a802c5505156 |
comparison
equal
deleted
inserted
replaced
69419:e043e733d1f5 | 69420:337a846a85de |
---|---|
291 @example | 291 @example |
292 (split-string " two words ") | 292 (split-string " two words ") |
293 @result{} ("two" "words") | 293 @result{} ("two" "words") |
294 @end example | 294 @end example |
295 | 295 |
296 The result is not @samp{("" "two" "words" "")}, which would rarely be | 296 The result is not @code{("" "two" "words" "")}, which would rarely be |
297 useful. If you need such a result, use an explicit value for | 297 useful. If you need such a result, use an explicit value for |
298 @var{separators}: | 298 @var{separators}: |
299 | 299 |
300 @example | 300 @example |
301 (split-string " two words " | 301 (split-string " two words " |
353 @end example | 353 @end example |
354 @end defun | 354 @end defun |
355 | 355 |
356 @defvar split-string-default-separators | 356 @defvar split-string-default-separators |
357 The default value of @var{separators} for @code{split-string}. Its | 357 The default value of @var{separators} for @code{split-string}. Its |
358 usual value is @w{@samp{"[ \f\t\n\r\v]+"}}. | 358 usual value is @w{@code{"[ \f\t\n\r\v]+"}}. |
359 @end defvar | 359 @end defvar |
360 | 360 |
361 @node Modifying Strings | 361 @node Modifying Strings |
362 @section Modifying Strings | 362 @section Modifying Strings |
363 | 363 |