Extract number from string

7 views (last 30 days)
Yen Tien Yap
Yen Tien Yap on 10 May 2022
Answered: dpb on 10 May 2022
I have a coloumn of strings and I want to extract the numbers after the equal signs in an array. May I know how can I do that? Thank you.

Accepted Answer

dpb on 10 May 2022
is one way. For more difficult cases look at the new(ish) @doc:pattern function

More Answers (0)


Community Treasure Hunt

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

Start Hunting!

Translated by