I did a quick search - according to erwin website - 3-4 days for them to be undetectable in your system. But if youv'e been addicted for a couple of years, I'm thinking you may have given your liver a real work out and it may take a bit longer for it to break down, absorb and flush out the drug.
Hope that helps!
depends what it is, can you be more specific?