MATLAB: Segregating a text

char arraytext;

I have a char array where the content is mainly simila to this format 'JPM/GS/UBS-INV-BANK'
is it possible to separate the names where the separator "/" would be used to separate the names to obtain : JPM then GS then UBS-INV-BANK

Best Answer

regexp('JPM/GS/UBS-INV-BANK','/', 'split')