str_contains()
The str_contains() function checks if a string contains a given substring. This is useful for string validation and searching.