So back to shift.
How to trim one variable from left to right, to value of another variable?

say trim 12345 by 3 - mean, make 123 digits from it.