[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Text placed within a specific length width
From: |
Jordan Wilson |
Subject: |
Re: Text placed within a specific length width |
Date: |
Sun, 30 Jun 2024 15:15:45 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On 2024-06-30 (Sun) at 14:12 (+0000), Heime <heimeborgia@protonmail.com> wrote:
> I can pad at back. Is there other tool to pad at front ?
(string-pad STRING LENGTH &optional PADDING START)
You can use the argument "START"
(string-pad "Test" 15 nil t)
returns
" Test"
Thanks
Jordan Wilson
Sent from Gnus v5.13, GNU Emacs 29.4 on GNU/LINUX