segregating a text

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

 采纳的回答

更多回答(1 个)

Fangjun Jiang
Fangjun Jiang 2011-6-28

0 个投票

strread('JPM/GS/UBS-INV-BANK','%s','delimiter','/')

类别

帮助中心File Exchange 中查找有关 Text Analytics Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by