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
    1. =REPT(">",10)


    Hope this will help


    :wink:

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