$string = $vbulletin->GPC['message']; $Pos = strpos($string,"hello"); $vbulletin->GPC['message'] = $Pos;