Tweaked strpos code to add more samples