AnsweredAssumed Answered

How to create an amount of parentheses based on a numerical variable.

Question asked by braxton on Feb 26, 2010
Latest reply on Feb 26, 2010 by braxton

Title

How to create an amount of parentheses based on a numerical variable.

Post

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?

 

Thanks!

Outcomes