Some values of what you have and what you expect as a result.
SUBSTR function is one of the typical ways to extract starting at a given position. With out knowing your specific sets of ICD codes (9 and 10 come to mind) but different organizations are known to store the values with decimals/underscores/or just long strings.
Or are you in the same apparent class that these folks are:
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss. Register now and lock in 2025 pricing—just $495!