#JavaScript (ES6) 44 <s>74</s>

    S=n=>(n-~(n+'').replace(/./g,8)+'').slice(1)

**Test in FireFox console**

    ;[0,1,10,11,42,100,800,1060,10270,100501]
    .forEach(x => console.log(x +" -> '" + S(x) + "'"))

*Output*

    0 -> ''
    1 -> '0'
    10 -> '9'
    11 -> '00'
    42 -> '31'
    100 -> '89'
    800 -> '689'
    1060 -> '949'
    10270 -> '9159'
    100501 -> '89390'