Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > fr.comp.lang.javascript > #3014

Caractère répété

From Gloops <gloops@zailes.invalid.org.invalid>
Newsgroups fr.comp.lang.javascript
Subject Caractère répété
Date 2016-08-03 20:45 +0200
Organization Serveur de salon
Message-ID <nnte47$34k$1@usenet.pasdenom.info> (permalink)

Show all headers | View raw


Bonjour tout le monde,

Quand on veut tracer un trait (horizontal), on peut écrire une boucle 
pour alimenter une chaîne de caractères.

Sinon, existe-t-il aussi une fonction intégrée pour faire ça de façon 
élégante, comme par exemple, en VBS pour avoir 60 points on enverra 
String(60, ".")

Je n'ai pas essayé String(60, "-+") pour alterner deux caractères 
différents ...

Back to fr.comp.lang.javascript | Previous | NextNext in thread | Find similar


Thread

Caractère répété Gloops <gloops@zailes.invalid.org.invalid> - 2016-08-03 20:45 +0200
  Re:Caractère répété Guiche <guiche@invalid> - 2016-08-04 07:00 +0200
    Re: Caractère répété Gloops <gloops@zailes.invalid.org.invalid> - 2016-08-04 22:05 +0200
      Re: Caractère répété Gloops <gloops@zailes.invalid.org.invalid> - 2016-08-04 22:13 +0200
        Re: Caractère répété Guiche <guiche@invalid> - 2016-08-04 23:34 +0200
          Re: Caractère répété Gloops <gloops@zailes.invalid.org.invalid> - 2016-08-05 11:14 +0200
            Re: Caractère répété Guiche <guiche@invalid> - 2016-08-08 06:18 +0200
              Re: Caractère répété Guiche <guiche@invalid> - 2016-08-08 06:19 +0200
                Re: Caractère répété Gloops <gloops@zailes.invalid.org.invalid> - 2016-08-09 03:02 +0200
      Re: Caractère répété Guiche <guiche@invalid> - 2016-08-04 23:48 +0200

csiph-web