This content has been marked as final. Show 2 replies
How to create an amount of parentheses based on a numerical variable.
I am basically making a database that will create the verbiage for a calculation. I need to make an number of parentheses in a row. The amount of parentheses would be based on a variable. For example:
If n = 2 the function would generate: ))
If n = 5 the function would generate: )))))
What text function or other would I use to generate this text based on a variable?