I need to transform multiple strings using AngularJS:
String 1
Convert strings to 10 digits without the letter at the beginning
A 908915-10 == 0090891510
B 6918546-05 == 0690891510
- C 90002135-00 == 9000213500
String 2
Transform decimals to 10 digits
1234.00 == 0000123400
String 3 530706-01 == 53070601
What is the best way to modify each of the above strings?