change format of phone numbers in matlab 2013Ra?
    4 views (last 30 days)
  
       Show older comments
    
change format of phone numbers in matlab 2013Ra? from this 923332425932 to +92-333-2425932.
0 Comments
Answers (1)
  Niklas Nylén
      
 on 3 Jun 2014
        A very straight forward way would be:
pIn = '923332425932';
pOut = ['+' p1(1:2) '-' p(3:5) '-' p(6:end)]
0 Comments
See Also
Categories
				Find more on MATLAB Mobile in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!