Suppose i have an array a:

a[n] = n + b * c, i - p

or simply

a[n] = g, h

how can i make it

a[n] = h.

In other words, how do I take out the g and the ",". ?

And after take out g and the ",", suppose h = " hi", how do you take out the extra spaces before the hi.

Thank you.