in reply to Split on whitespace or other criteria

the split methods all work, however, how can i insert a whitespace before the negative value when putting into an array?
123.45 65.78-100.98 becoms 123.45 65.78 -100.98
thanks for your help people

Replies are listed 'Best First'.
Re^2: Split on whitespace or other criteria
by vek (Prior) on Jan 31, 2005 at 13:19 UTC

    neniro already gave you a solution for that. Are you still having problems?

    -- vek --