if my $text is "color: green, size: 10cm, gift wrapped: yes" the string conses the words it failed to print "found"
$text =$item_meta->display($flat=true,$return=true);
$pos = strpos($text, 'gift wrapped: yes');
if ($pos == false) {
print "Not found\n";
} else {
print "Found!\n";
}
this the piece of code i used to test but failed
can any one help me in this situation