You can use LIKE to match the exact case, or ILIKE for case insensitivity. Use % as a template.
This will match anything with "SomeThing" in it (case sensitive).
SELECT * FROM table WHERE name LIKE '%SomeThing%'
This will match anything ending with "ing" (case insensitive).
SELECT * FROM table WHERE name ILIKE '%ing'
source share