Hi, i have an array of numbers like the following, +1.2, +5.0, -3.0, +4.0
now, i have used the sub string to pull out all numbers beginning with ‘+’ and all numbers beginning with ‘-’.
i would like to take the numbers beginning with ‘-’ and remove the ‘-’ (minus sign)
I have used the split string and i am able to remove the ‘-’, but for some reason i get a comma before the number instead, eg, ‘,3.0’?
so when i try and add my new number to another velue i get an error?
Can some one tell me hoe to get rid of the comma??
Many Thanks
Sam