Mercurial > hg > octave-lyh
comparison scripts/strings/strjust.m @ 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 | fb8834c12035 |
comparison
equal
deleted
inserted
replaced
9035:57649dcecb55 | 9036:58604c45ca74 |
---|---|
19 ## -*- texinfo -*- | 19 ## -*- texinfo -*- |
20 ## @deftypefn {Function File} {} strjust (@var{s}, ["left"|"right"|"center"]) | 20 ## @deftypefn {Function File} {} strjust (@var{s}, ["left"|"right"|"center"]) |
21 ## Shift the non-blank text of @var{s} to the left, right or center of | 21 ## Shift the non-blank text of @var{s} to the left, right or center of |
22 ## the string. If @var{s} is a string array, justify each string in the | 22 ## the string. If @var{s} is a string array, justify each string in the |
23 ## array. Null characters are replaced by blanks. If no justification | 23 ## array. Null characters are replaced by blanks. If no justification |
24 ## is specified, then all rows are right-justified. For example: | 24 ## is specified, then all rows are right-justified. For example: |
25 ## | 25 ## |
26 ## @example | 26 ## @example |
27 ## @group | 27 ## @group |
28 ## strjust (["a"; "ab"; "abc"; "abcd"]) | 28 ## strjust (["a"; "ab"; "abc"; "abcd"]) |
29 ## @result{} ans = | 29 ## @result{} ans = |