I have a text like this:
"A01 + B02 + C03 + D04 + E05 + F06 + G07 + H08 + I09 + J10 + K11 + L12 + M13 + N14 + O15 + P16"
I would like to add a space after every fourth β+β sign.
This is because if the text is too long in the grid cell on my page, then it just turns off. So I'm going to just wrap the string before binding the data to the grid.
I played with several string methods, for example, getting IndexOf and adding space with Insert, or using StringBuilder to make a completely new string from the original, but I just can't get the final solution working.
Any help would be greatly appreciated. Thanks.
TheFitGeekGirl
source share