[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

right justify - expounded



I guess I could have been clearer about what
I've tried that didn't work, in addition to
what I tried that almost worked.

The following I could not get to work.

Subtracting the string length from
(#_sqr-max-columns - 1) and then left padding the
string with that many spaces.

Subtracting the string length from
(#_sqr-max-columns - 1), printing that many spaces, and then printing the
string right
after it.

Subtracting the string length from
(#_sqr-max-columns - 1) and then creating an
edit mask with the many "B"s, plus enough
"X"s for the string itself.

Using the R edit mask to reverse the string with
right justification, then ltrim the string, then
reverse it back.

Andrew :)