On Monday 05 Oct 2009 11:27:23 Raymond Wan wrote:
> Hi Andreas,
>
> Andreas Moroder wrote:
> > I want pro print to screen two strings. The problem ist that the length
> > of the strings are variable, so I get a unreadable output. Even using \t
> > does not help because the lenght can vary from 5 t
Алексеев Александр schrieb:
$ perl
printf "%15s %15s\n", "hello", "world";
^D
hello world
--
Alexandr A Alexeev
Hello Alexander,
thanks you for the hint.
"%s-15" with the - is what I searched for.
Thanks
Andreas
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
Hi Andreas,
Andreas Moroder wrote:
I want pro print to screen two strings. The problem ist that the length
of the strings are variable, so I get a unreadable output. Even using \t
does not help because the lenght can vary from 5 to 15 characters.
Is there a simple way to expand the first col
$ perl
printf "%15s %15s\n", "hello", "world";
^D
hello world
--
Alexandr A Alexeev
http://web20.su/
Andreas Moroder пишет:
Hello,
I want pro print to screen two strings. The problem ist that the
length of the strings are variable, so I get a unreadable output. Even
using