I got the following type of input in a column and would like to get the output below
Input:
01212/001231412/0123123
04654/000009846/9015684
Output:
01212/1231412/0123123
04654/9846/9015684
So I need to remove leading zeros in the middle part. My assumption is that
- I need to split the string
- detect if there are leading zeros in the 2nd part
- merge everything together
Is this possible in Access via SQL or do I need to write a VBA script? How do I so the 2nd part, detecting leading zeros automatically?