Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replicate string
Message
 
À
22/09/2000 07:55:37
Christian Bellavance
Université du Québec à Hull
Hull, Québec, Canada
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00419529
Message ID:
00419740
Vues:
27
>?Replicate("X",5) 'Prints "XXXXX" = String(5, "X")
>
>
>?Pad("X",5,"O") 'Prints "XOOOO" = I am not sure to understand this one. Is it like a concatenation. Can you give me an example of the use of that function?.

Ah, String(), thanks.

Eric gave me his Pad function, it pads a string with the character you specify to make the string the length you specify.

ResultingString = Pad(StringToPad,StingToPadWith,ResultingStringLength)
George
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform