change format of phone numbers in matlab 2013Ra?

2 visualizaciones (últimos 30 días)
zafar ulqasim
zafar ulqasim el 3 de Jun. de 2014
Respondida: Niklas Nylén el 3 de Jun. de 2014
change format of phone numbers in matlab 2013Ra? from this 923332425932 to +92-333-2425932.

Respuestas (1)

Niklas Nylén
Niklas Nylén el 3 de Jun. de 2014
A very straight forward way would be:
pIn = '923332425932';
pOut = ['+' p1(1:2) '-' p(3:5) '-' p(6:end)]

Categorías

Más información sobre MATLAB Report Generator en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by