MATLAB: How to remove (.) from strings in matlab

about classify text document

Best Answer

Use strrep, which is designed to perform the task that you want:
>> str = '.Hello.World.';
>> strrep(str,'.','')
ans = HelloWorld