help-gnu-emacs
[Top][All Lists]
Advanced

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

RE: [External] : String variable composed of a repeat character


From: Drew Adams
Subject: RE: [External] : String variable composed of a repeat character
Date: Sat, 8 May 2021 14:30:43 +0000

> How can a construct a string variable composed
> of repeating a character n times?

;; Set MY-VAR to a string of 314 x's.
(setq my-var  (make-string 314 ?x))

reply via email to

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