Strpos() Works Only Sometimes

The trim() perform strips whitespace from the beginning and end of a string and returns the resulting string. The characters it strips by de...