How to insert spaces between the characters of a string
<p>Is there an easy method to insert spaces between the characters of a string? I'm using the below code which takes a string (for example  ( UI$.EmployeeHours * UI.DailySalary ) / ( Month ) )  . As this information is getting from an excel sheet, i need to insert [] for each columnname. The issue occurs if user avoids giving spaces after each paranthesis as well as an operator. AnyOne to help? </p>

<pre><code>      text = e.Expression.Split(Splitter);
      string expressionString = null;
      for (int temp = 0; temp &lt; text.Length; temp++)
                        {
                            string str = null;
                            str = text[temp];
                            if (str.Length != 1 &amp;&amp; str != "")
                            {
                                expressionString = expressionString + "[" + text[temp].TrimEnd() + "]";
                            }
                            else
                                expressionString = expressionString + str;

                        }
</code></pre>

<p>User might be inputing something like (UI$.SlNo-UI+UI$.Task)-(UI$.Responsible_Person*UI$.StartDate) while my desired output is ( [UI$.SlNo-UI] + [UI$.Task] ) - ([UI$.Responsible_Person] * [UI$.StartDate] )</p>
