Link to home
Start Free TrialLog in
Avatar of themroc
themroc

asked on

VB 6.0 String format question

I would like to create a textstring as follows

dim textstring as String


This "textstring" shall comprise 10 times the letter b.
Instead of writing

textstring = "bbbbbbbbbb" I would like to express it as follows

textstring = 10 * "b"  

but it comes up with an errormessage "Type missmached"

how do I have to programme 10 * "letter"
ASKER CERTIFIED SOLUTION
Avatar of drydenhogg
drydenhogg

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of themroc
themroc

ASKER

exact the right thing, did not find the command in my manuals

thanks
themroc