lcStr = '95.00X32.00X45.00'
ALINES(laSize, lcStr, "X")
? VAL(laSize[1]), VAL(laSize[2]), VAL(laSize[3])
? "Volume =", VAL(laSize[1]) * VAL(laSize[2]) * VAL(laSize[3])
>
>My customer is sending me this string '95.00X32.00X45.00', the numbers representing length, width and height in CM'S, from which I am to calculate the volume. I'm sure if I spent a few days I could come with an algorithm to parse this out in order to do the calculation, but has anyone done this already?
>Thanks.
>
>Luke
--sb--