Is it possible to block incoming text messages from one specific contact ?

Someone told me its possible & I didn't really believe it... Is it ?