View Single Post
  #1   Report Post  
MrBill
 
Posts: n/a
Default Extract Numbers from Alpha-Numeric String

I have an Alpha-Numeric String. I need to Extract the numbers and use them in
calculations.

Example String: PL1 1/2x5 1/2
I need to return the "1 1/2" as 1.5
And the "5 1/2" as 5.5
I guess it would be easier to say that I need to "OMIT" the Leading Alpha
Characters, Replace the Fractionals to Decimals, replace the "x" with *.
The result to be: 1.5*5.5