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
2011-6-28
0 个投票
strread('JPM/GS/UBS-INV-BANK','%s','delimiter','/')
1 个评论
Walter Roberson
2011-6-28
or textscan() with the same parameters.
类别
在 帮助中心 和 File Exchange 中查找有关 Text Analytics Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!