Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replicate string
Message
 
To
22/09/2000 07:55:37
Christian Bellavance
Université du Québec à Hull
Hull, Quebec, Canada
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00419529
Message ID:
00419740
Views:
28
>?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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform