Skip to Content
0
Former Member
Aug 09, 2010 at 08:44 AM

Filling the needed characters

20 Views

Hi,

i need to fill a variable with some char like 'A' or 'B' but it is flexible.

i mean, i will do it as required, for example i need to put 10 'A' if the variable needs 10,

15 if it needs 15.

And need is like that, variable lenght is 40 and assume 25 of it is full and 15 is blank.

i want to fill this 15 char with 'A'. How can i put a number of char to the variable?

thanks.