Is it possible to remove a certain character (dash sign / -) from an entire column in a table.
43 views (last 30 days)
Show older comments
Frank Huetten
on 22 Oct 2020
Commented: Ameer Hamza
on 22 Oct 2020
Is it possible to remove a certain character (dash sign / -) from an entire column in a table.
The erase function seems to work only after I converted the table to cell.
0 Comments
Accepted Answer
Ameer Hamza
on 22 Oct 2020
It can work on table as well. Try something like this
T.x = erase(T.x, '-')
4 Comments
More Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!