change format of phone numbers in matlab 2013Ra?

조회 수: 2 (최근 30일)
zafar ulqasim
zafar ulqasim 2014년 6월 3일
답변: Niklas Nylén 2014년 6월 3일
change format of phone numbers in matlab 2013Ra? from this 923332425932 to +92-333-2425932.

답변 (1개)

Niklas Nylén
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)]

카테고리

Help CenterFile Exchange에서 Filter Banks에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by