MATLAB: Is it possible to remove a certain character (dash sign / -) from an entire column in a table.

erase functionMATLABremovetable

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.

Best Answer

It can work on table as well. Try something like this
T.x = erase(T.x, '-')