diff doc/interpreter/strings.txi @ 9036:58604c45ca74

Cleanup of data types related documentation Files: data.texi, numbers.texi, strings.texi, container.texi Use two spaces after a period for increased readibility in Info browser Spellcheck
author Rik <rdrider0-list@yahoo.com>
date Sat, 21 Mar 2009 15:52:41 -0700
parents eb63fbe60fab
children 923c7cb7f13f
line wrap: on
line diff
--- a/doc/interpreter/strings.txi	Sat Mar 21 08:29:37 2009 -0700
+++ b/doc/interpreter/strings.txi	Sat Mar 21 15:52:41 2009 -0700
@@ -314,7 +314,7 @@
 
 @item @code{strcat} removes trailing white space in the arguments (except
 within cell arrays), while @code{cstrcat} leaves white space untouched.  Both
-kinds of behaviour can be useful as can be seen in the examples:
+kinds of behavior can be useful as can be seen in the examples:
 
 @example
 @group
@@ -377,7 +377,7 @@
 
 @noindent To determine if two strings are identical it is necessary to use the
 @code{strcmp} function.  It compares complete strings and is case
-sensistive.  @code{strncmp} compares only the first @code{N} characters (with
+sensitive.  @code{strncmp} compares only the first @code{N} characters (with
 @code{N} given as a parameter).  @code{strcmpi} and @code{strncmpi} are the
 corresponding functions for case-insensitive comparison.
 
@@ -396,15 +396,17 @@
 
 Octave supports a wide range of functions for manipulating strings.
 Since a string is just a matrix, simple manipulations can be accomplished
-using standard operators. The following example shows how to replace
+using standard operators.  The following example shows how to replace
 all blank characters with underscores.
 
 @example
-quote = ...
+@group
+quote = @dots{}
   "First things first, but not necessarily in that order";
 quote( quote == " " ) = "_"
 @result{} quote = 
     First_things_first,_but_not_necessarily_in_that_order
+@end group
 @end example
 
 For more complex manipulations, such as searching, replacing, and