Write value to variable once with number specifying how many times I want it written

  • Hi all,
    Tough to understand title, sorry.
    I'd like to specify the character that goes into a variable only once instead writing it a number of times. Here's what I mean:
    StringVariable = ">>>>>>>>>>"
    Is there something like: StringVariable = 10">"
    With the latter, a programmer can specify the character only once instead writing it ten times.
    Thank you!


    An answer "no way" is still a useful answer; this way I know what I can and can't do.

  • Hi,


    You could test the following :


    Code
    =REPT(">",10)


    Hope this will help


    :wink:

    If you feel like saying "Thank You" for the help received, do not hesitate to click the "Smiley" icon, below, in the bottom right corner :)

  • Problem solved. Thank you!


    Glad you could fix your problem ... :wink:


    Thanks ... for your Thanks ...!!! :smile:

    If you feel like saying "Thank You" for the help received, do not hesitate to click the "Smiley" icon, below, in the bottom right corner :)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!