comparison scripts/strings/strjust.m @ 11563:3c6e8aaa9555

Grammarcheck m-files before 3.4 release.
author Rik <octave@nomad.inbox5.com>
date Tue, 18 Jan 2011 20:55:01 -0800
parents fd0a3ac60b0e
children c792872f8942
comparison
equal deleted inserted replaced
11562:1811f4f8b3b5 11563:3c6e8aaa9555
21 ## @deftypefn {Function File} {} strjust (@var{s}, @var{pos}) 21 ## @deftypefn {Function File} {} strjust (@var{s}, @var{pos})
22 ## Return the text, @var{s}, justified according to @var{pos}, which may 22 ## Return the text, @var{s}, justified according to @var{pos}, which may
23 ## be @samp{"left"}, @samp{"center"}, or @samp{"right"}. If @var{pos} 23 ## be @samp{"left"}, @samp{"center"}, or @samp{"right"}. If @var{pos}
24 ## is omitted, @samp{"right"} is assumed. 24 ## is omitted, @samp{"right"} is assumed.
25 ## 25 ##
26 ## Null characters are replaced by spaces. All other character 26 ## Null characters are replaced by spaces. All other character
27 ## data are treated as non-white space. 27 ## data are treated as non-white space.
28 ## 28 ##
29 ## Example: 29 ## Example:
30 ##
30 ## @example 31 ## @example
31 ## @group 32 ## @group
32 ## strjust (["a"; "ab"; "abc"; "abcd"]) 33 ## strjust (["a"; "ab"; "abc"; "abcd"])
33 ## @result{} ans = 34 ## @result{} ans =
34 ## a 35 ## a