loosecannon1
Programmer
Hi All -
I need to insert a dash before the third to the last character of several strings.
For example:
Currently --> @array1 = qw(A-12001 A-1001 A-321001);
I Need --> @array2 = qw(A-12-001 A-1-001 A-321-001);
Any suggestions are appreciated.
I need to insert a dash before the third to the last character of several strings.
For example:
Currently --> @array1 = qw(A-12001 A-1001 A-321001);
I Need --> @array2 = qw(A-12-001 A-1-001 A-321-001);
Any suggestions are appreciated.