Hi again aadhar, thanks for explaining.
I believe both, cases 2 and 3 are possible because Restrictions.like is traduced as SQL like and it supports '%' wildcards to discover string patterns.
Respect to case 1, I don't know about how it can be done with Criteria API, I have worked in HQL combination with SUBSTR because my database supports it, like something: