Remove apostrophe?

16 views (last 30 days)
David Jessop
David Jessop on 15 Mar 2012
I am sure that this is a simple one but it has stumped me.
Does anyone know how to get rid of apostrophes surrounding a number in a cell? I have got table data from the web but it appears with apostrophes - I'd like to be able to remove these and convert to double.
Many thanks

Accepted Answer

Image Analyst
Image Analyst on 15 Mar 2012
Did you try str2double()?
  1 Comment
David Jessop
David Jessop on 15 Mar 2012
Thanks! I thought I'd tried that but clearly tried everything but!

Sign in to comment.

More Answers (0)

Categories

Find more on Dates and Time in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!