help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

strjust


From: Leo Butler
Subject: strjust
Date: Wed, 13 Oct 2010 08:16:49 +0100 (BST)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

In 3.3.52+, I find the following behaviour of strjust,
which appears to conflict with its description.

octave> s=sprintf("\tstring");
octave> s=strjust(s,"left")
s =     string
octave> s=sprintf("        string");
octave> s=strjust(s,"left")
s = string

You can see that it is not removing leading tabs.

Leo


--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]