We help IT Professionals succeed at work.
Get Started

how do extract just the numeric part of a string from a column

colechr asked
Last Modified: 2008-09-17

I have a table that looks like this;

Col A
Example 2.0000%-3.0000%
Example2 3.0000%-4.5000%

so basically in the example Col a  has a numeric value up to 4dp in the string. I would like to strip all the zeros in the name whenever there are zeros at the end of the number;

e.g 2.0000%-3.0000% will become 2%-3%
      3.0000%-4.5000% will become 3%-4.5%

Anyone know how i can do this please.
Watch Question
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE