I'd like to calculate, ie do the arithmetic, on each element of a carriage return separated array. The array looks like this: 3*2 4*3 7+3 8/4 9-2 I'd like to get a second array that looks like: 6 12 10 2 7 I know I should be able to find this in the docs but I can't seem to. Thanks.