I have a column of values resembling the following:
ssib0000354
ssib0023452
ssj0000234
ssib0008744222
ssj022
...
I need a function that will:
1. move the alpha characters from the beginning to the end
2. eliminate the zeroes at the beginning (whether there are one or two or five, etc.)
The number of zeroes varies, though it's probably always between one and six. The number of digits after the initial zeroes varies, though again it's always probably between one and nine digits long. The alpha characters at the beginning are always either "ssib" or "ssj" ... there is no other variation.
So what I'm looking for is a function that will turn the above to:
354ssib
23452ssib
234ssj
8744222ssib
22ssj
Any help would be appreciated.
ssib0000354
ssib0023452
ssj0000234
ssib0008744222
ssj022
...
I need a function that will:
1. move the alpha characters from the beginning to the end
2. eliminate the zeroes at the beginning (whether there are one or two or five, etc.)
The number of zeroes varies, though it's probably always between one and six. The number of digits after the initial zeroes varies, though again it's always probably between one and nine digits long. The alpha characters at the beginning are always either "ssib" or "ssj" ... there is no other variation.
So what I'm looking for is a function that will turn the above to:
354ssib
23452ssib
234ssj
8744222ssib
22ssj
Any help would be appreciated.