If it was paid in on Tuesday before the bank's advertised cut-off time, it is guaranteed to be cleared by Friday of next week, which is six working days after it was paid in (remember Monday is a Bank Holiday).
If you paid it into a current account, you will be able to draw on the cheque by Wednesday of next week at the latest. Your bank may allow you to withdraw the funds earlier, but by the fourth working day, they are obliged to allow you to draw on the cheque, even though it could still bounce (as long as it was paid into a current account - for savings accounts, you may have to wait the full six working days before being able to withdraw the money).
These timescales apply to all UK banks and building societies, and it doesn't matter that the cheque was drawn on a building society account. From November of last year, unless you are a knowing party to fraud, you can be certain that a cheque has cleared by the end of the sixth working day after it was paid in.