Report question

Question: How to implement a SQL like 'LIKE' operator in java?