change format of phone numbers in matlab 2013Ra?
2 次查看(过去 30 天)
显示 更早的评论
change format of phone numbers in matlab 2013Ra? from this 923332425932 to +92-333-2425932.
0 个评论
回答(1 个)
Niklas Nylén
2014-6-3
A very straight forward way would be:
pIn = '923332425932';
pOut = ['+' p1(1:2) '-' p(3:5) '-' p(6:end)]
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Report Generator 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!