How to find result out of a string

Hi Guys,

I somehow could use Arr to store the values and I am able to extract max value, min value etc. result= arr.Min or arr.Max

Can someone suggest how to use Sum() for this, its expecting int value to use Sum.