Posts by mayssalns • 21 points
1 post
-
1
votes1
answer98
viewsQ: Printing a 3-in-3 formatted sequence of numbers separated by dash
Let’s say I have the following entry String S = "00-44 48 5555 8361" and that I need to return this character string divided 3 by 3, separated by "-", as follows: Output: 004-448-555-583-61 The…