Hi folks, I am running into a problem where I have to split a long numeric variable into parts. However, this variable has different total digits, for instance, some have 12 digits and some have 14 digits, etc. What I need is to split the variable at different digit depending on the total number of digit. For instance, if the variable is 14 digit, I need to cut at the 6th and 10th digit whereas if the variable is 12 digit, I need to cut at the 4th and 7th digit. Anyone knows how to achieve this? Thanks!
-
Login or Register
- Log in with
Comment